summaryrefslogtreecommitdiff
path: root/textproc/gtkdiff/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/gtkdiff/Makefile')
-rw-r--r--textproc/gtkdiff/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/textproc/gtkdiff/Makefile b/textproc/gtkdiff/Makefile
index 7ad70f951e4e..1eb2d88bf4a6 100644
--- a/textproc/gtkdiff/Makefile
+++ b/textproc/gtkdiff/Makefile
@@ -21,7 +21,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= gtkdiff.1
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 ; \