aboutsummaryrefslogtreecommitdiff
path: root/editors/gmanedit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/gmanedit/Makefile')
-rw-r--r--editors/gmanedit/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/gmanedit/Makefile b/editors/gmanedit/Makefile
index 0012d8f7d91a..e3744176574f 100644
--- a/editors/gmanedit/Makefile
+++ b/editors/gmanedit/Makefile
@@ -28,7 +28,7 @@ post-extract:
@${RM} -rf ${WRKSRC}/config.cache
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 ; \