aboutsummaryrefslogtreecommitdiffstats
path: root/devel/commoncpp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/commoncpp/Makefile')
-rw-r--r--devel/commoncpp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/commoncpp/Makefile b/devel/commoncpp/Makefile
index 60fb50126174..edfed2aadb1d 100644
--- a/devel/commoncpp/Makefile
+++ b/devel/commoncpp/Makefile
@@ -21,7 +21,7 @@ INSTALLS_SHLIB= yes
pre-patch:
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|-release \$$\(LT_RELEASE\)||g'
- @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|l\$$ost_cv_thread_library|\$$ost_cv_thread_library|g ; \
s|=c_r|=pthread|g' ${WRKSRC}/configure