aboutsummaryrefslogtreecommitdiffstats
path: root/devel/dmalloc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/dmalloc/Makefile')
-rw-r--r--devel/dmalloc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/dmalloc/Makefile b/devel/dmalloc/Makefile
index c6df7b21d776..a8ecfa7b6c9c 100644
--- a/devel/dmalloc/Makefile
+++ b/devel/dmalloc/Makefile
@@ -23,7 +23,7 @@ CONFIGURE_ARGS+=--enable-threads --enable-shlib
ALL_TARGET= dmalloc_t all light
pre-patch:
- @${PERL} -pi -e 's|-lpthread|-pthread|g' ${WRKSRC}/configure
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dmalloc ${PREFIX}/bin