aboutsummaryrefslogtreecommitdiff
path: root/www/gtkhtml/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/gtkhtml/Makefile')
-rw-r--r--www/gtkhtml/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/gtkhtml/Makefile b/www/gtkhtml/Makefile
index 18ad5f791f56..6b045d0f6e7b 100644
--- a/www/gtkhtml/Makefile
+++ b/www/gtkhtml/Makefile
@@ -29,7 +29,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-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 ; \