aboutsummaryrefslogtreecommitdiffstats
path: root/misc/misterproper
diff options
context:
space:
mode:
Diffstat (limited to 'misc/misterproper')
-rw-r--r--misc/misterproper/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/misterproper/Makefile b/misc/misterproper/Makefile
index cfd64822e288..5ddd4a545497 100644
--- a/misc/misterproper/Makefile
+++ b/misc/misterproper/Makefile
@@ -22,7 +22,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-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 ; \