aboutsummaryrefslogtreecommitdiffstats
path: root/audio/sweep/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sweep/Makefile')
-rw-r--r--audio/sweep/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/sweep/Makefile b/audio/sweep/Makefile
index 1652a6602a2..e43d2d85dbc 100644
--- a/audio/sweep/Makefile
+++ b/audio/sweep/Makefile
@@ -24,7 +24,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= sweep.1
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 ; \