aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gnapster/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/gnapster/Makefile')
-rw-r--r--audio/gnapster/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/gnapster/Makefile b/audio/gnapster/Makefile
index 22985959a291..012fd27d4963 100644
--- a/audio/gnapster/Makefile
+++ b/audio/gnapster/Makefile
@@ -31,7 +31,7 @@ CONFIGURE_ARGS+=--disable-gnome --disable-gdk-pixbuf
.endif
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 ; \