aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-12-22 19:36:22 +0800
committermiwi <miwi@FreeBSD.org>2009-12-22 19:36:22 +0800
commit193b33986f5c11c2694262b643a9999ddedc6f38 (patch)
tree6176dfa23c06d15e915b479bd00512ad8a20a854 /textproc
parent284f73422fa111ad8f2d1d515e677f7fcc7a9d9e (diff)
downloadfreebsd-ports-gnome-193b33986f5c11c2694262b643a9999ddedc6f38.tar.gz
freebsd-ports-gnome-193b33986f5c11c2694262b643a9999ddedc6f38.tar.zst
freebsd-ports-gnome-193b33986f5c11c2694262b643a9999ddedc6f38.zip
- Chase libtre shlib bump
Diffstat (limited to 'textproc')
-rw-r--r--textproc/msort/Makefile18
1 files changed, 16 insertions, 2 deletions
diff --git a/textproc/msort/Makefile b/textproc/msort/Makefile
index 53fbf9f246dd..2318632574b9 100644
--- a/textproc/msort/Makefile
+++ b/textproc/msort/Makefile
@@ -7,7 +7,7 @@
PORTNAME= msort
PORTVERSION= 8.52
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://billposer.org/Software/Downloads/
@@ -19,7 +19,8 @@ LIB_DEPENDS= tre:${PORTSDIR}/textproc/libtre \
utf8proc:${PORTSDIR}/textproc/utf8proc
RUN_DEPENDS= iwidgets>=0:${PORTSDIR}/x11-toolkits/iwidgets
-CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include"
+CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include" \
+ ac_cv_lib_tre_regwcomp=yes
MAKE_ENV+= INCLUDES="-I${LOCALBASE}/include"
GNU_CONFIGURE= yes
USE_TK_RUN= yes
@@ -30,4 +31,17 @@ PLIST_FILES= bin/msg bin/msort
MAN1= msort.1
+.ifdef(MAINTAINER_MODE)
+BUILD_DEPENDS+= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash
+
+post-patch:
+ ${REINPLACE_CMD} -e "s|bash|${LOCALBASE}/bin/bash|g" ${WRKSRC}/RegressionTests/Makefile
+ ${REINPLACE_CMD} -e "s|msort|../&|g" ${WRKSRC}/RegressionTests/RunTests.sh \
+ ${WRKSRC}/RegressionTests/RunLocaleTests.sh
+
+test: build
+ @(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} test)
+
+.endif
+
.include <bsd.port.mk>