aboutsummaryrefslogtreecommitdiff
path: root/audio/glame
diff options
context:
space:
mode:
Diffstat (limited to 'audio/glame')
-rw-r--r--audio/glame/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/glame/Makefile b/audio/glame/Makefile
index 2dddd3a4bfdd..c34ad5648fbd 100644
--- a/audio/glame/Makefile
+++ b/audio/glame/Makefile
@@ -33,12 +33,12 @@ CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \
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 ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g ; \
- s|-lpthread|-pthread|g'
+ s|-lpthread|${PTHREAD_LIBS}|g'
post-install:
@install-info ${PREFIX}/info/glame.info \