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