aboutsummaryrefslogtreecommitdiff
path: root/x11/gnomelibs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnomelibs/Makefile')
-rw-r--r--x11/gnomelibs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11/gnomelibs/Makefile b/x11/gnomelibs/Makefile
index 62c2e6714418..d8b55194da78 100644
--- a/x11/gnomelibs/Makefile
+++ b/x11/gnomelibs/Makefile
@@ -35,7 +35,7 @@ MAN1= gnome.1 gnome-config.1
MAN5= gnome-mime.5
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 ; \