summaryrefslogtreecommitdiffstats
path: root/audio/audiere/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/audiere/Makefile')
-rw-r--r--audio/audiere/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/audiere/Makefile b/audio/audiere/Makefile
index 129e54c..84a5e51 100644
--- a/audio/audiere/Makefile
+++ b/audio/audiere/Makefile
@@ -17,7 +17,7 @@ USE_AUTOTOOLS= autoconf
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
-CONFIGURE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
+CONFIGURE_ENV= PTHREAD_LIBS="-pthread"
CPPFLAGS+= -I${LOCALBASE}/include/speex -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -71,7 +71,7 @@ CONFIGURE_REPLACES+='/AC_CHECK_HEADER/ s|speex|no_&|'
post-patch:
@${REINPLACE_CMD} ${CONFIGURE_REPLACES:C/.*/-e &/} \
- -e 's|-lpthread|${PTHREAD_LIBS}|' \
+ -e 's|-lpthread|-pthread|' \
${WRKSRC}/configure.in
post-install:
OpenPOWER on IntegriCloud