aboutsummaryrefslogtreecommitdiff
path: root/misc/metatheme/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/metatheme/Makefile')
-rw-r--r--misc/metatheme/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/metatheme/Makefile b/misc/metatheme/Makefile
index 05b251888c2d..a0d3dfbc0873 100644
--- a/misc/metatheme/Makefile
+++ b/misc/metatheme/Makefile
@@ -24,7 +24,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 ; \