aboutsummaryrefslogtreecommitdiff
path: root/devel/pharmacy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pharmacy/Makefile')
-rw-r--r--devel/pharmacy/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/pharmacy/Makefile b/devel/pharmacy/Makefile
index 181cf7241b04..a6ed2390e2fe 100644
--- a/devel/pharmacy/Makefile
+++ b/devel/pharmacy/Makefile
@@ -21,7 +21,7 @@ CONFIGURE_ENV+= CPPCFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
pre-patch:
- @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure