aboutsummaryrefslogtreecommitdiff
path: root/math/scigraphica/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/scigraphica/Makefile')
-rw-r--r--math/scigraphica/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/scigraphica/Makefile b/math/scigraphica/Makefile
index eca1982b8926..d924cf20e833 100644
--- a/math/scigraphica/Makefile
+++ b/math/scigraphica/Makefile
@@ -30,7 +30,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-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' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \