summaryrefslogtreecommitdiff
path: root/databases/tora
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2003-01-23 21:22:53 +0000
committerAnders Nordby <anders@FreeBSD.org>2003-01-23 21:22:53 +0000
commit6a6c005c723f347d302173498e063465d3269b88 (patch)
tree52f5ad36ead66dc90c27c518656d121811cea5aa /databases/tora
parent- update to 2.4 (diff)
Use USE_REINPLACE & REINPLACE_CMD instead of PERL.
Requested by: Ulrich Spoerlein <q@uni.de>
Notes
Notes: svn path=/head/; revision=73884
Diffstat (limited to 'databases/tora')
-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