aboutsummaryrefslogtreecommitdiffstats
path: root/news/pan/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'news/pan/Makefile')
-rw-r--r--news/pan/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/news/pan/Makefile b/news/pan/Makefile
index 58d3a1a8f05c..80d02c1d8cc9 100644
--- a/news/pan/Makefile
+++ b/news/pan/Makefile
@@ -25,7 +25,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CONFIGURE_ARGS= --enable-html
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 ; \