aboutsummaryrefslogtreecommitdiff
path: root/devel/dmalloc/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 03:05:48 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 03:05:48 +0000
commit5b96d0a9567e649c783ac418d8e2bde2f6adfc22 (patch)
tree8b423bf71fff78a00604f3c63e5c97500c8a780a /devel/dmalloc/Makefile
parent3e84456d0e9ec790ccd9350f80ea60af92eb7d68 (diff)
downloadports-5b96d0a9567e649c783ac418d8e2bde2f6adfc22.tar.gz
ports-5b96d0a9567e649c783ac418d8e2bde2f6adfc22.zip
Notes
Diffstat (limited to 'devel/dmalloc/Makefile')
-rw-r--r--devel/dmalloc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/dmalloc/Makefile b/devel/dmalloc/Makefile
index a8ecfa7b6c9c..3ab314bd33e3 100644
--- a/devel/dmalloc/Makefile
+++ b/devel/dmalloc/Makefile
@@ -16,6 +16,7 @@ MAINTAINER= jeremy@external.org
INSTALLS_SHLIB= YES
GNU_CONFIGURE= YES
+USE_REINPLACE= yes
CONFIGURE_ARGS+=--enable-threads --enable-shlib
# NOTE: we make the test program first because otherwise it screws up
@@ -23,7 +24,7 @@ CONFIGURE_ARGS+=--enable-threads --enable-shlib
ALL_TARGET= dmalloc_t all light
pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dmalloc ${PREFIX}/bin