summaryrefslogtreecommitdiff
path: root/x11/gdm2
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gdm2')
-rw-r--r--x11/gdm2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11/gdm2/Makefile b/x11/gdm2/Makefile
index ca85544ccf0d..42a4d93e02e5 100644
--- a/x11/gdm2/Makefile
+++ b/x11/gdm2/Makefile
@@ -28,7 +28,7 @@ pre-fetch:
.endif
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 ; \