aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranders <anders@FreeBSD.org>2003-01-24 05:22:53 +0800
committeranders <anders@FreeBSD.org>2003-01-24 05:22:53 +0800
commit23881f006fa04d9015a5a48b9fd7d1c92c0d4064 (patch)
treec91b6ec13fd570bd11dd062687b62e6112b38892
parentfbe724a2c2d465a74b835bf8d607b0e53a5d56ff (diff)
downloadfreebsd-ports-gnome-23881f006fa04d9015a5a48b9fd7d1c92c0d4064.tar.gz
freebsd-ports-gnome-23881f006fa04d9015a5a48b9fd7d1c92c0d4064.tar.zst
freebsd-ports-gnome-23881f006fa04d9015a5a48b9fd7d1c92c0d4064.zip
Use USE_REINPLACE & REINPLACE_CMD instead of PERL.
Requested by: Ulrich Spoerlein <q@uni.de>
-rw-r--r--databases/tora/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/tora/Makefile b/databases/tora/Makefile
index 7be82eb88d4f..af61fbc69906 100644
--- a/databases/tora/Makefile
+++ b/databases/tora/Makefile
@@ -18,6 +18,7 @@ LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
USE_GMAKE= yes
HAS_CONFIGURE= yes
USE_QT_VER= 2
+USE_REINPLACE= yes
QT_NONSTANDARD= yes
CONFIGURE_ARGS+= --with-gcc=${CC} \
@@ -32,7 +33,7 @@ CONFIGURE_ARGS+= --with-gcc=${CC} \
DOCS= BUGS LICENSE NEWS README TODO
post-patch:
- ${PERL} -pi -e \
+ ${REINPLACE_CMD} -E -e \
"s@^(my $$Libs.*)-lpthread -ldl\";\$$@\1 ${PTHREAD_LIBS}\";@; \
s@^(CFLAGS_GLOB.*)@\1 ${CFLAGS} ${PTHREAD_CFLAGS}@" \
${WRKSRC}/configure.pl