Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Mar 2015 21:37:40 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r382272 - in head/audio: audacity espeak espeak/files ezstream faad fluidsynth funktrackergold gnuitar hawkvoice jack_ghero jack_umidi lxmusic mp-player mp3blaster muse ncmpcpp openal p...
Message-ID:  <201503252137.t2PLberO016941@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Wed Mar 25 21:37:39 2015
New Revision: 382272
URL: https://svnweb.freebsd.org/changeset/ports/382272
QAT: https://qat.redports.org/buildarchive/r382272/

Log:
  audio category: Remove $PTHREAD_LIBS
  
  xmcd didn't pass check-plist (pre-existing), fixed.
  
  approved by:	PTHREAD blanket

Modified:
  head/audio/audacity/Makefile
  head/audio/espeak/Makefile
  head/audio/espeak/files/patch-src__Makefile
  head/audio/ezstream/Makefile
  head/audio/faad/Makefile
  head/audio/fluidsynth/Makefile
  head/audio/funktrackergold/Makefile
  head/audio/gnuitar/Makefile
  head/audio/hawkvoice/Makefile
  head/audio/jack_ghero/Makefile
  head/audio/jack_umidi/Makefile
  head/audio/lxmusic/Makefile
  head/audio/mp-player/Makefile
  head/audio/mp3blaster/Makefile
  head/audio/muse/Makefile
  head/audio/ncmpcpp/Makefile
  head/audio/openal/Makefile
  head/audio/p5-Shout/Makefile
  head/audio/portaudio/Makefile
  head/audio/portaudio2/Makefile
  head/audio/pulseaudio/Makefile
  head/audio/rawrec/Makefile
  head/audio/sox/Makefile
  head/audio/sphinxbase/Makefile
  head/audio/spiralloops/Makefile
  head/audio/spiralsynth/Makefile
  head/audio/spiralsynthmodular/Makefile
  head/audio/squash/Makefile
  head/audio/streamripper/Makefile
  head/audio/streamtranscoder/Makefile
  head/audio/tagtool/Makefile
  head/audio/tse3/Makefile
  head/audio/vorbis-tools/Makefile
  head/audio/xmcd/Makefile
  head/audio/xmms-curses/Makefile
  head/audio/xmms2-scrobbler/Makefile
  head/audio/zinf/Makefile

Modified: head/audio/audacity/Makefile
==============================================================================
--- head/audio/audacity/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/audacity/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -113,10 +113,12 @@ VORBIS_LIB_DEPENDS=	libvorbis.so:${PORTS
 
 .include <bsd.port.pre.mk>
 
-LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
-CPPFLAGS+=	-I${WRKSRC}/lib-src/portsmf ${PTHREAD_CFLAGS}
-CXXFLAGS+=	-I${WRKSRC}/lib-src/portsmf ${PTHREAD_CFLAGS}
-CFLAGS+=	-I${WRKSRC}/lib-src/portsmf -I${WRKSRC}/lib-src/portaudio-v19/include -I${WRKSRC}/lib-src/lame -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS+=	-lpthread -L${LOCALBASE}/lib
+CPPFLAGS+=	-I${WRKSRC}/lib-src/portsmf
+CXXFLAGS+=	-I${WRKSRC}/lib-src/portsmf
+CFLAGS+=	-I${WRKSRC}/lib-src/portsmf \
+		-I${WRKSRC}/lib-src/portaudio-v19/include \
+		-I${WRKSRC}/lib-src/lame -I${LOCALBASE}/include
 
 post-patch:
 .if ! ${PORT_OPTIONS:MPORTMIXER}

Modified: head/audio/espeak/Makefile
==============================================================================
--- head/audio/espeak/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/espeak/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -36,9 +36,6 @@ RUNTIME_MAKE_ENV=	AUDIO="runtime"
 
 CONFLICTS=	speak-1.[0-9]
 
-MAKE_ENV+=	PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
-		PTHREAD_LIBS="${PTHREAD_LIBS}"
-
 CXXFLAGS+=	-I${LOCALBASE}/include
 USES=		gmake zip
 USE_LDCONFIG=	yes

Modified: head/audio/espeak/files/patch-src__Makefile
==============================================================================
--- head/audio/espeak/files/patch-src__Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/espeak/files/patch-src__Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -1,5 +1,5 @@
---- ./src/Makefile.orig	2011-11-22 22:46:08.000000000 +0100
-+++ ./src/Makefile	2012-05-03 16:00:55.000000000 +0200
+--- src/Makefile.orig	2014-02-02 10:58:11 UTC
++++ src/Makefile
 @@ -1,8 +1,8 @@
  # remove -fno-exceptions  if it causes problems with stdio library on some platforms (ARM)
  
@@ -11,7 +11,7 @@
  BINDIR=$(PREFIX)/bin
  INCDIR=$(PREFIX)/include/espeak
  LIBDIR=$(PREFIX)/lib
-@@ -27,7 +27,7 @@
+@@ -27,7 +27,7 @@ MKDIR = mkdir -p
  
  # 'runtime' uses pulseaudio if it is running, else uses portaudio
  #AUDIO = runtime
@@ -20,7 +20,7 @@
  #AUDIO = portaudio0
  #AUDIO = portaudio2
  #AUDIO = pulseaudio
-@@ -35,17 +35,17 @@
+@@ -35,17 +35,17 @@ AUDIO = portaudio
  
  ifeq ($(AUDIO),runtime)
  WAVE=wave.cpp wave_pulse.cpp
@@ -41,36 +41,19 @@
  USE_AUDIO=-DUSE_PORTAUDIO
  else
  ifeq ($(AUDIO),portaudio0)
-@@ -83,23 +83,23 @@
- 
- SRCS1=$(speak_SOURCES)
- OBJS1=$(patsubst %.cpp,%.o,$(SRCS1))
--LIBS1=-lstdc++ $(LIB_AUDIO) -lpthread $(EXTRA_LIBS)
-+LIBS1=-lstdc++ $(LIB_AUDIO) $(PTHREAD_LIBS) $(EXTRA_LIBS)
- 
- SRCS2=$(libespeak_SOURCES)
- OBJS2=$(patsubst %.cpp,x_%.o,$(SRCS2))
--LIBS2=-lstdc++ $(LIB_AUDIO) -lpthread
-+LIBS2=-lstdc++ $(LIB_AUDIO) $(PTHREAD_LIBS)
+@@ -91,9 +91,9 @@ LIBS2=-lstdc++ $(LIB_AUDIO) -lpthread
  
  SRCS3 = espeak.cpp
  OBJS3=$(patsubst %.cpp,%.o,$(SRCS3))
 -LIBS3=-lstdc++ -L . -lespeak
-+LIBS3=-lstdc++ -L . -lespeak $(PTHREAD_LIBS)
++LIBS3=-lstdc++ -L . -lespeak -lpthread
  
 -CXXFLAGS=-O2
 +CXXFLAGS?=-O2
  
  
  all: $(BIN_NAME) $(LIB_NAME) $(STATIC_LIB_NAME) $(BIN2_NAME)
- 
- .cpp.o:
--	$(CXX) $(CXXFLAGS) $(USE_AUDIO) -D PATH_ESPEAK_DATA=\"$(DATADIR)\" -Wall -pedantic -I. -c -fno-exceptions  $<
-+	$(CXX) $(CXXFLAGS) $(PTHREAD_CFLAGS) $(USE_AUDIO) -D PATH_ESPEAK_DATA=\"$(DATADIR)\" -Wall -pedantic -I. -c -fno-exceptions  $<
- 
- $(BIN_NAME): $(OBJS1)
- 	$(CXX) $(LDFLAGS) -o $@ $(OBJS1) $(LIBS1)
-@@ -133,7 +133,7 @@
+@@ -133,7 +133,7 @@ distclean: clean
  
  install: all
  	# Create directories
@@ -79,7 +62,7 @@
  	$(MKDIR) $(DESTDIR)$(BINDIR)
  	$(MKDIR) $(DESTDIR)$(LIBDIR)
  	$(MKDIR) $(DESTDIR)$(INCDIR)
-@@ -149,5 +149,5 @@
+@@ -149,5 +149,5 @@ install: all
  	# Install development headers
  	$(INSTALL) -pm 644 speak_lib.h $(DESTDIR)$(INCDIR)
  	# Install data files

Modified: head/audio/ezstream/Makefile
==============================================================================
--- head/audio/ezstream/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/ezstream/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -32,8 +32,8 @@ PORTEXAMPLES=	ezstream_metadata.xml ezst
 PLIST_FILES=	bin/ezstream bin/ezstream-file.sh etc/ezstream/ezstream.xml \
 		man/man1/ezstream-file.sh.1.gz man/man1/ezstream.1.gz
 
-CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-lpthread -L${LOCALBASE}/lib
 
 TAGLIB_CONFIGURE_OFF=	--without-taglib
 TAGLIB_LIB_DEPENDS=		libtag.so:${PORTSDIR}/audio/taglib

Modified: head/audio/faad/Makefile
==============================================================================
--- head/audio/faad/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/faad/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -13,8 +13,8 @@ COMMENT=	MPEG-2 and MPEG-4 AAC audio dec
 
 USES=		autoreconf dos2unix gmake libtool tar:bzip2
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-lpthread -L${LOCALBASE}/lib
 USE_LDCONFIG=	yes
 
 post-extract:

Modified: head/audio/fluidsynth/Makefile
==============================================================================
--- head/audio/fluidsynth/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/fluidsynth/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -22,8 +22,8 @@ CMAKE_ARGS=	-Denable-ladcca:BOOL=FALSE \
 		-Denable-midishare:BOOL=FALSE
 USE_LDCONFIG=	yes
 
-CFLAGS+=	-I${LOCALBASE}/include/portaudio2 -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+=	-L${LOCALBASE}/lib/portaudio2 -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CFLAGS+=	-I${LOCALBASE}/include/portaudio2 -I${LOCALBASE}/include
+LDFLAGS+=	-lpthread -L${LOCALBASE}/lib/portaudio2 -L${LOCALBASE}/lib
 
 JACK_LIB_DEPENDS=	libjack.so:${PORTSDIR}/audio/jack
 JACK_CMAKE_OFF=		-Denable-jack:BOOL=FALSE

Modified: head/audio/funktrackergold/Makefile
==============================================================================
--- head/audio/funktrackergold/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/funktrackergold/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -19,8 +19,7 @@ LICENSE=	GPLv2
 USES=		compiler:nestedfct tar:tgz
 
 WRKSRC=		${WRKDIR}/funkgold
-MAKE_ARGS=	EXTRA_CFLAGS="${PTHREAD_CFLAGS}" \
-		EXTRA_LDFLAGS="${PTHREAD_LIBS}"
+MAKE_ARGS=	EXTRA_LDFLAGS="-lpthread"
 
 PORTDOCS=	INSTALL
 PLIST_FILES=	bin/funkgold

Modified: head/audio/gnuitar/Makefile
==============================================================================
--- head/audio/gnuitar/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/gnuitar/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -36,10 +36,6 @@ DESKTOP_ENTRIES="GNUitar" \
 pre-fetch:
 	@${CAT} pkg-message
 
-post-patch:
-	@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \
-		${WRKSRC}/configure ${WRKSRC}/src/Makefile
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/gnuitar ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/src/gnuitar.xpm ${STAGEDIR}${PREFIX}/share/pixmaps

Modified: head/audio/hawkvoice/Makefile
==============================================================================
--- head/audio/hawkvoice/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/hawkvoice/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -16,9 +16,10 @@ MAKEFILE=	makefile.linux
 USE_CSTD=	gnu89
 USE_LDCONFIG=	yes
 
-LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
+LDFLAGS+=	-lpthread -L${LOCALBASE}/lib
 CPPFLAGS+=	-I${LOCALBASE}/include
-MAKE_ARGS=	LIBDIR=${STAGEDIR}${PREFIX}/lib INCDIR=${STAGEDIR}${PREFIX}/include
+MAKE_ARGS=	LIBDIR=${STAGEDIR}${PREFIX}/lib \
+		INCDIR=${STAGEDIR}${PREFIX}/include
 
 WRKSRC=	${WRKDIR}/HawkVoiceDI/src
 

Modified: head/audio/jack_ghero/Makefile
==============================================================================
--- head/audio/jack_ghero/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/jack_ghero/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -23,11 +23,11 @@ OPTIONS_DEFINE=	DEBUG
 
 .include <bsd.port.options.mk>
 
-MAKE_ARGS+=" HAVE_MAN=YES"
-MAKE_ARGS+=" PTHREAD_LIBS=${PTHREAD_LIBS}"
+MAKE_ARGS+=	HAVE_MAN="YES"
+MAKE_ARGS+=	PTHREAD_LIBS="-lpthread"
 
 .if ${PORT_OPTIONS:MDEBUG}
-MAKE_ARGS+=" HAVE_DEBUG=YES"
+MAKE_ARGS+=	HAVE_DEBUG="YES"
 .endif
 
 .include <bsd.port.mk>

Modified: head/audio/jack_umidi/Makefile
==============================================================================
--- head/audio/jack_umidi/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/jack_umidi/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -29,15 +29,13 @@ DEVD_SCRIPT_DESC=	Install devd script to
 PLIST_FILES+=	etc/devd/jack_umidi.conf
 .endif
 
-MAKE_ARGS+=" HAVE_MAN=YES"
-MAKE_ARGS+=" PTHREAD_LIBS=${PTHREAD_LIBS}"
+MAKE_ARGS+=	HAVE_MAN="YES"
+MAKE_ARGS+=	PTHREAD_LIBS="-lpthread"
 
 .if ${PORT_OPTIONS:MDEBUG}
-MAKE_ARGS+=" HAVE_DEBUG=YES"
+MAKE_ARGS+=	HAVE_DEBUG="YES"
 .endif
 
-.include <bsd.port.pre.mk>
-
 post-install:
 .if ${PORT_OPTIONS:MDEVD_SCRIPT}
 	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/devd
@@ -45,4 +43,4 @@ post-install:
 		 ${STAGEDIR}${PREFIX}/etc/devd
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/audio/lxmusic/Makefile
==============================================================================
--- head/audio/lxmusic/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/lxmusic/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -22,8 +22,8 @@ GNU_CONFIGURE=	yes
 INSTALLS_ICONS=	yes
 INSTALL_TARGET=	install-strip
 
-CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-lpthread -L${LOCALBASE}/lib
 
 PORTDOCS=	AUTHORS README
 

Modified: head/audio/mp-player/Makefile
==============================================================================
--- head/audio/mp-player/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/mp-player/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -15,7 +15,7 @@ LICENSE=	GPLv2
 LIB_DEPENDS=	libmikmod.so:${PORTSDIR}/audio/libmikmod
 
 CFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib -lmikmod ${PTHREAD_LIBS} -lncurses -lpanel
+LDFLAGS+=	-L${LOCALBASE}/lib -lmikmod -lpthread -lncurses -lpanel
 DEFINES=	-D_REENTRANT
 
 PLIST_FILES=	bin/mp-player

Modified: head/audio/mp3blaster/Makefile
==============================================================================
--- head/audio/mp3blaster/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/mp3blaster/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -15,8 +15,8 @@ GNU_CONFIGURE=	yes
 WANT_GNOME=	yes
 CONFIGURE_ARGS=	--with-cxxflags="${CXXFLAGS}"
 
-CPPFLAGS+=	-I${LOCALBASE}/include -DHAVE_DECL_GETOPT ${PTHREAD_CFLAGS}
-LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CPPFLAGS+=	-I${LOCALBASE}/include -DHAVE_DECL_GETOPT
+LDFLAGS+=	-lpthread -L${LOCALBASE}/lib
 
 OPTIONS_DEFINE=	LIRC SIDPLAY VORBIS DOCS
 OPTIONS_DEFAULT=	SIDPLAY VORBIS
@@ -69,9 +69,8 @@ CONFIGURE_ARGS+=	--without-esd
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|/usr/local/share/mp3blaster/win2koi.tbl|${DATADIR}/charmap/win2koi.tbl|' \
-				${WRKSRC}/doc/sample.mp3blasterrc
+		${WRKSRC}/doc/sample.mp3blasterrc
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}

Modified: head/audio/muse/Makefile
==============================================================================
--- head/audio/muse/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/muse/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -22,8 +22,8 @@ USES=		gettext gmake
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-debug --disable-lubrify --disable-rpath
 
-CPPFLAGS+=	-I${LOCALBASE}/include -DHAVE_SYS_UIO_H ${PTHREAD_CFLAGS}
-LDFLAGS+=	-L${LOCALBASE}/lib -lintl ${PTHREAD_LIBS}
+CPPFLAGS+=	-I${LOCALBASE}/include -DHAVE_SYS_UIO_H
+LDFLAGS+=	-lpthread -L${LOCALBASE}/lib -lintl
 
 PORTDOCS=	AUTHORS ChangeLog NEWS KNOWN-BUGS README TODO USAGE
 PLIST_FILES=	bin/muse man/man1/muse.1.gz

Modified: head/audio/ncmpcpp/Makefile
==============================================================================
--- head/audio/ncmpcpp/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/ncmpcpp/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -19,7 +19,7 @@ USES=		compiler:c++11-lib iconv libtool 
 GNU_CONFIGURE=	yes
 USE_GNOME=	glib20
 CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
+LDFLAGS+=	-lpthread -L${LOCALBASE}/lib
 CONFIGURE_ENV=	BOOST_LIB_SUFFIX=""
 
 OPTIONS_DEFINE=	CURL CLOCK DOCS OUTPUTS TAGLIB UTF8 VISUALIZER

Modified: head/audio/openal/Makefile
==============================================================================
--- head/audio/openal/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/openal/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -47,16 +47,13 @@ NOT_FOR_ARCHS_REASON_ia64=	does not comp
 .include <bsd.port.options.mk>
 
 post-patch:
-	@${REINPLACE_CMD} -e 's/-pthread/${PTHREAD_LIBS}/; \
-		s/x86_64\*/amd64\* | \*ia64\*/g; \
+	@${REINPLACE_CMD} -e 's/x86_64\*/amd64\* | \*ia64\*/g; \
 		/CPPFLAGS=/ d; s/ \*linux\*)/ \*bsd\*)/' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e '/#include/ s|SDL/||' \
 		${WRKSRC}/src/extensions/al_ext_mp3.c
 	@${REINPLACE_CMD} -e 's|"mixaudio16_mmx_prk.h"|"arch/i386/mixaudio16_mmx_prk.h"|' \
 		${WRKSRC}/src/mixaudio16.h
-	@${REINPLACE_CMD} -e 's|@requirements@||; \
-		s|Libs: |&${PTHREAD_LIBS} |;\
-		s|Cflags: |&${PTHREAD_CFLAGS} |' \
+	@${REINPLACE_CMD} -e 's|@requirements@||' \
 		${WRKSRC}/admin/pkgconfig/openal.pc.in
 .if ! ${PORT_OPTIONS:MASM}
 	@${REINPLACE_CMD} -e '/^NASM=/ s|=.*|=no|' ${WRKSRC}/configure

Modified: head/audio/p5-Shout/Makefile
==============================================================================
--- head/audio/p5-Shout/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/p5-Shout/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -25,7 +25,8 @@ post-patch:
 	${REINPLACE_CMD} -i '' -e 's/CCFLAGS/INC/' ${WRKSRC}/Makefile.PL
 
 post-configure:
-	@${PERL} -i -pe '$$_ .= " ${PTHREAD_LIBS}" if /^LDDLFLAGS/;' ${WRKSRC}/Makefile
+	@${PERL} -i -pe '$$_ .= " -lpthread" if /^LDDLFLAGS/;' \
+		${WRKSRC}/Makefile
 
 OPTIONS_DEFINE=	DOCS
 

Modified: head/audio/portaudio/Makefile
==============================================================================
--- head/audio/portaudio/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/portaudio/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -18,8 +18,8 @@ GNU_CONFIGURE=	yes
 MAKE_ARGS=	PREFIX=${STAGEDIR}${PREFIX}
 USE_LDCONFIG=	yes
 
-CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_CFLAGS}
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-lpthread -L${LOCALBASE}/lib
 
 PLIST_SUB+=	SHLIB_VERSION=${SHLIB_VERSION}
 SHLIB_VERSION=	0
@@ -43,10 +43,10 @@ OPTIONS_SUB=	yes
 .include <bsd.port.options.mk>
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|#include <malloc.h>|#include <stdlib.h>|' ${WRKSRC}/pa_unix_oss/pa_unix.h
-	@${REINPLACE_CMD} -e 's|machine/soundcard.h|sys/soundcard.h|' ${WRKSRC}/pa_unix_oss/pa_unix_oss.c
-	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure ${WRKSRC}/configure.in \
-		${WRKSRC}/pa_unix_oss/Makefile
+	@${REINPLACE_CMD} -e 's|#include <malloc.h>|#include <stdlib.h>|' \
+		${WRKSRC}/pa_unix_oss/pa_unix.h
+	@${REINPLACE_CMD} -e 's|machine/soundcard.h|sys/soundcard.h|' \
+		${WRKSRC}/pa_unix_oss/pa_unix_oss.c
 
 pre-configure:
 	@${CHMOD} +x ${WRKSRC}/configure

Modified: head/audio/portaudio2/Makefile
==============================================================================
--- head/audio/portaudio2/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/portaudio2/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -25,8 +25,8 @@ CONFIGURE_ARGS+=PKG_CONFIG_LIBDIR=${PREF
 USES=		dos2unix gmake libtool pathfix pkgconfig tar:tgz
 USE_LDCONFIG=	${PREFIX}/lib/${PORTNAME}${PKGNAMESUFFIX}
 
-CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-lpthread -L${LOCALBASE}/lib
 
 PORTDOCS=	*
 PORTEXAMPLES=	*

Modified: head/audio/pulseaudio/Makefile
==============================================================================
--- head/audio/pulseaudio/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/pulseaudio/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -30,8 +30,7 @@ USE_XORG=	x11 sm xtst ice
 USE_LDCONFIG=	yes
 USES=		execinfo gettext gmake libtool pathfix pkgconfig tar:xz
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
-		PTHREAD_LIBS="${PTHREAD_LIBS}" \
+CONFIGURE_ENV=	PTHREAD_LIBS="-lpthread" \
 		OPENSSL_CFLAGS="-I/usr/include" \
 		OPENSSL_LIBS="-lcrypto -lssl" \
 		LIBS="-lm -lintl" \

Modified: head/audio/rawrec/Makefile
==============================================================================
--- head/audio/rawrec/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/rawrec/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -17,9 +17,8 @@ LICENSE_FILE=	${WRKDIR}/${DISTNAME}/copy
 WRKSRC=		${WRKDIR}/${DISTNAME}/src
 
 USES=		gmake
-MAKE_ARGS=	CC="${CC}" \
-		CFLAGS="${CPPFLAGS} ${CFLAGS} ${PTHREAD_CFLAGS}" \
-		LDFLAGS="${LDFLAGS} -lm ${PTHREAD_LIBS}"
+MAKE_ARGS=	CC="${CC}" CFLAGS="${CPPFLAGS} ${CFLAGS}" \
+		LDFLAGS="${LDFLAGS} -lm -lpthread"
 
 PLIST_FILES=	bin/rawplay bin/rawrec man/man1/rawplay.1.gz man/man1/rawrec.1.gz
 

Modified: head/audio/sox/Makefile
==============================================================================
--- head/audio/sox/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/sox/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -35,7 +35,7 @@ GSM_DESC=	Use libgsm from ports (else us
 PNG_DESC=	PNG spectrogram creation
 
 CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
+LDFLAGS+=	-lpthread -L${LOCALBASE}/lib
 CONFIGURE_ARGS+=	--with-pkgconfigdir="${PREFIX}/libdata/pkgconfig"
 CONFIGURE_ARGS+=	--with-distro="${CONFIGURE_TARGET} ${PKGNAME}" \
 			--with-gsm

Modified: head/audio/sphinxbase/Makefile
==============================================================================
--- head/audio/sphinxbase/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/sphinxbase/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -38,8 +38,7 @@ CONFIGURE_ENV+=	HAVE_PKGCONFIG=no
 .endif
 
 .if ${PORT_OPTIONS:MTHREADS}
-CPPFLAGS+=	${PTHREAD_CFLAGS}
-LDFLAGS+=	${PTHREAD_LIBS}
+LDFLAGS+=		-lpthread
 CONFIGURE_ARGS+=	--enable-threads
 .else
 CONFIGURE_ARGS+=	--disable-threads

Modified: head/audio/spiralloops/Makefile
==============================================================================
--- head/audio/spiralloops/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/spiralloops/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -16,7 +16,7 @@ LICENSE=	GPLv2
 LIB_DEPENDS=	libfltk.so:${PORTSDIR}/x11-toolkits/fltk
 
 GNU_CONFIGURE=	yes
-MAKE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}" 
+MAKE_ENV=	PTHREAD_LIBS="-lpthread" 
 WRKSRC=		${WRKDIR}/${DISTNAME}
 
 PLIST_FILES=	bin/SpiralLoops
@@ -36,7 +36,7 @@ post-patch:
 		s:-O3::g; \
 		s:CFLAGS =:CFLAGS +=:g; \
 		s:CXXFLAGS=:CXXFLAGS+=:g; \
-		s:-lm:${PTHREAD_LIBS} -lm:g; \
+		s:-lm:-lpthread -lm:g; \
 		s:/usr/X11R6:${LOCALBASE}:g; \
 		s:gcc:${CC}:; s:g\+\+:${CXX}:" \
 		< ${WRKSRC}/Makefile.in.orig > ${WRKSRC}/Makefile.in

Modified: head/audio/spiralsynth/Makefile
==============================================================================
--- head/audio/spiralsynth/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/spiralsynth/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -14,8 +14,7 @@ COMMENT=	MIDI-capable synthesizer for X
 LIB_DEPENDS=	libfltk.so:${PORTSDIR}/x11-toolkits/fltk
 
 GNU_CONFIGURE=	yes
-MAKE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}" \
-		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
+MAKE_ENV=	PTHREAD_LIBS="-lpthread"
 PLIST=		${WRKDIR}/pkg-plist
 
 WRKSRC=		${WRKDIR}/${DISTNAME}
@@ -40,13 +39,13 @@ post-patch:
 	SpiralSound/_SynthInfo.C \
 	Synth.h
 	${MV} ${WRKSRC}/${ii} ${WRKSRC}/${ii}.orig
-	${SED} -e 's|-O3|${PTHREAD_CFLAGS}|g ; \
+	${SED} -e 's|-O3||g ; \
 			s|CC	=|CC?	=|g ; \
 			s|CFLAGS =|CFLAGS +=|g ; \
 			s|CXX	=|CXX?	=|g ; \
 			s|CXXFLAGS=|CXXFLAGS+=|g ; \
 			s|LINK	=	g++|LINK	=	${CXX}|g ; \
-			s|-lm|${PTHREAD_LIBS} -lm|g ; \
+			s|-lm|-lpthread -lm|g ; \
 			s|/usr/X11R6|${LOCALBASE}|g ; \
 			s|iostream.h|iostream|g ;\
 			s|fstream.h|fstream|g ;\

Modified: head/audio/spiralsynthmodular/Makefile
==============================================================================
--- head/audio/spiralsynthmodular/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/spiralsynthmodular/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -34,8 +34,8 @@ OPTIMIZED_CFLAGS_CFLAGS=-O3 -ffast-math
 post-patch:
 	@${REINPLACE_CMD} -E -e 's@(-O3|-ffast-math)@@g; \
 		s|-Wall||; \
-		s|CFLAGS="-pipe|CFLAGS="\$$\{CFLAGS\} ${PTHREAD_CFLAGS}|; \
-		s|CXXFLAGS="-pipe|CXXFLAGS="\$$\{CXXFLAGS\} ${PTHREAD_CFLAGS}|; \
+		s|CFLAGS="-pipe|CFLAGS="\$$\{CFLAGS\}|; \
+		s|CXXFLAGS="-pipe|CXXFLAGS="\$$\{CXXFLAGS\}|; \
 		s|^SpiralSound/Plugins/MidiPlugin/Makefile||; \
 		s|MidiPlugin||' \
 			${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@@ -53,7 +53,7 @@ post-patch:
 		${WRKSRC}/SpiralSound/Sample.h
 	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -E -e \
 		's,-l(dl|rt),,; s|g\+\+|$$(CXX)|; \
-		/^(CC|CXX)[[:space:]]*=.+$$/d; s|-lpthread|${PTHREAD_LIBS}|g; \
+		/^(CC|CXX)[[:space:]]*=.+$$/d; \
 		s,@FLTK_(C|CXX)FLAGS@,-I${LOCALBASE}/include,; \
 		s,(bin|lib)dir),DESTDIR)$$(&,'
 	@${FIND} ${WRKSRC} -type f -name "*.C" -o -name "*.cpp" -o -name "*.h" \

Modified: head/audio/squash/Makefile
==============================================================================
--- head/audio/squash/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/squash/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -29,9 +29,9 @@ OPTIONS_DEFINE=	DOCS
 PORTDOCS=	*
 
 post-patch:
-	@${REINPLACE_CMD} -e "s|--std=gnu99|--std=gnu99 ${CFLAGS} ${PTHREAD_CFLAGS}|; \
+	@${REINPLACE_CMD} -e "s|--std=gnu99|--std=gnu99 ${CFLAGS}|; \
 		s|-Iinclude|-Iinclude -I${LOCALBASE}/include|; \
-		s|-lpthread|${PTHREAD_LIBS}|; s|-ldl|-L${LOCALBASE}/lib|" ${WRKSRC}/Makefile
+		s|-ldl|-L${LOCALBASE}/lib|" ${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -e "s,/usr/bin/ruby,${RUBY}," \
 		${WRKSRC}/extra/*.rb
 	@${REINPLACE_CMD} -e "s,/etc/squash.conf,${PREFIX}/etc/squash.conf," \

Modified: head/audio/streamripper/Makefile
==============================================================================
--- head/audio/streamripper/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/streamripper/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -56,19 +56,19 @@ post-extract:
 	${MV} ${WRKDIR}/cdk-${CDK_VERSION} ${WRKSRC}
 
 post-patch:
-	@${REINPLACE_CMD} -e '/if test/s|==|=|g ; \
-		 s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e '/if test/s|==|=|g' ${WRKSRC}/configure
 
 pre-configure:
-	@cd ${WRKSRC}/cdk-${CDK_VERSION} && ${SETENV} CC="${CC}" \
-		CFLAGS="${CFLAGS}" ${SH} ./configure
+	(cd ${WRKSRC}/cdk-${CDK_VERSION} && ${SETENV} CC="${CC}" \
+		CFLAGS="${CFLAGS}" ${SH} ./configure)
 
 pre-build:
-	@cd ${WRKSRC}/cdk-${CDK_VERSION} && ${SETENV} ${MAKE_ENV} \
-		${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET}
+	(cd ${WRKSRC}/cdk-${CDK_VERSION} && ${SETENV} ${MAKE_ENV} \
+		${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/streamripper ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/streamripper.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/streamripper.1 \
+		${STAGEDIR}${MANPREFIX}/man/man1
 
 .include <bsd.port.mk>

Modified: head/audio/streamtranscoder/Makefile
==============================================================================
--- head/audio/streamtranscoder/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/streamtranscoder/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -28,9 +28,7 @@ OPTIONS_DEFINE=	DOCS
 .include <bsd.port.options.mk>
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|-D_REENTRANT|${PTHREAD_CFLAGS}|g; \
-		s|-pthread|${PTHREAD_LIBS}|g; s|-O20|$$CFLAGS|g' \
-		${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|-O20|$$CFLAGS|g' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e '/<curl\/types.h>/d' \
 		${WRKSRC}/aclocal.m4 ${WRKSRC}/configure \
 		${WRKSRC}/src/libtranscoder/transcurl.cpp

Modified: head/audio/tagtool/Makefile
==============================================================================
--- head/audio/tagtool/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/tagtool/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -22,11 +22,11 @@ USE_GNOME=	intlhack libglade2
 GNU_CONFIGURE=	yes
 INSTALLS_ICONS=	yes
 
-CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS} -logg -lm
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib -lpthread -logg -lm
 
 post-patch:
-	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
-		's|-Wno-pointer-sign||g'
+	@${FIND} ${WRKSRC} -name "Makefile.in" | \
+		${XARGS} ${REINPLACE_CMD} -e 's|-Wno-pointer-sign||g'
 
 .include <bsd.port.mk>

Modified: head/audio/tse3/Makefile
==============================================================================
--- head/audio/tse3/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/tse3/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -20,8 +20,7 @@ USE_LDCONFIG=	yes
 MAKE_JOBS_UNSAFE=	yes
 INSTALL_TARGET=	install-strip
 
-CPPFLAGS+=	${PTHREAD_CFLAGS}
-LDFLAGS+=	${PTHREAD_LIBS}
+LDFLAGS+=	-lpthread
 
 OPTIONS_DEFINE=	DOCS
 

Modified: head/audio/vorbis-tools/Makefile
==============================================================================
--- head/audio/vorbis-tools/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/vorbis-tools/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -20,8 +20,7 @@ LIB_DEPENDS=	libao.so:${PORTSDIR}/audio/
 
 USES=		iconv pkgconfig
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
-		PTHREAD_LIBS="${PTHREAD_LIBS}"
+CONFIGURE_ENV=	PTHREAD_LIBS="-lpthread"
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 

Modified: head/audio/xmcd/Makefile
==============================================================================
--- head/audio/xmcd/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/xmcd/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -31,10 +31,6 @@ pre-patch:
 post-patch:
 	@${SED} -e "s;@PREFIX@;${STAGDIR}${PREFIX};g" ${WRKSRC}/xmcd_d/XMcd.ad.in \
 		> ${WRKSRC}/xmcd_d/XMcd.ad
-	@${FIND} ${WRKSRC} -name Makefile -o -name Imakefile | \
-		${XARGS} ${REINPLACE_CMD} \
-		-e 's|_CFLAGS= -pthread|_CFLAGS= ${PTHREAD_CFLAGS}|g; \
-		s|_LDFLAGS= -pthread|_LDFLAGS= ${PTHREAD_LIBS}|g'
 
 post-configure:
 	@${REINPLACE_CMD} \
@@ -50,27 +46,27 @@ post-configure:
 		${WRKSRC}/install.sh
 
 post-install:
-	@${STRIP_CMD} ${LIBBINDIR}/cda
-	@${STRIP_CMD} ${LIBBINDIR}/gobrowser
-	@${STRIP_CMD} ${LIBBINDIR}/has_alsa
-	@${STRIP_CMD} ${LIBBINDIR}/xmcd
-	@${CP} ${WRKSRC}/xmcd_d/XMcd.ad ${STAGEDIR}${PREFIX}/lib/X11/app-defaults/XMcd
-	@${RM} ${STAGEDIR}${PREFIX}/bin/xmcd
-	@${RM} ${STAGEDIR}${PREFIX}/bin/cda
-	@${LN} -sf .xmcd_start ${STAGEDIR}${PREFIX}/bin/xmcd
-	@${LN} -sf .xmcd_start ${STAGEDIR}${PREFIX}/bin/cda
-	@${REINPLACE_CMD} \
+	${STRIP_CMD} ${LIBBINDIR}/cda ${LIBBINDIR}/gobrowser \
+		${LIBBINDIR}/has_alsa ${LIBBINDIR}/xmcd
+	${INSTALL_DATA} ${WRKSRC}/xmcd_d/XMcd.ad \
+		${STAGEDIR}${PREFIX}/lib/X11/app-defaults/XMcd
+	${RM} ${STAGEDIR}${PREFIX}/bin/xmcd
+	${RM} ${STAGEDIR}${PREFIX}/bin/cda
+	${LN} -sf .xmcd_start ${STAGEDIR}${PREFIX}/bin/xmcd
+	${LN} -sf .xmcd_start ${STAGEDIR}${PREFIX}/bin/cda
+	${REINPLACE_CMD} \
 		-e 's:^BINDIR=.*:XMCDLIB=${PREFIX}/bin:' \
 		-e 's:^XMCDLIB=.*:XMCDLIB=${PREFIX}/lib/X11/xmcd:' \
 		-e 's:^DISCOGDIR=.*:DISCOGDIR=${PREFIX}/lib/X11/xmcd/discog:' \
 		-e 's:XMCD_LIBDIR=.*:XMCD_LIBDIR=${PREFIX}/lib/X11/xmcd:' \
 		${STAGEDIR}${PREFIX}/lib/X11/xmcd/scripts/genidx \
 		${STAGEDIR}${PREFIX}/bin/.xmcd_start
-	@${REINPLACE_CMD} \
+	${REINPLACE_CMD} \
 		-e 's:${STAGEDIR}::' \
 		${STAGEDIR}${PREFIX}/lib/X11/xmcd/discog/discog.html \
 		${STAGEDIR}${PREFIX}/lib/X11/xmcd/config/config.sh \
 		${STAGEDIR}${PREFIX}/lib/X11/xmcd/bin-${OPSYS}_${OSREL:R:R}-${ARCH}/README
-	@${FIND} ${STAGEDIR} -name \*.bak -delete
+	${FIND} ${STAGEDIR}${PREFIX} -name \*.bak -delete
+	${FIND} ${STAGEDIR}${PREFIX} -type d -empty -delete
 
 .include <bsd.port.mk>

Modified: head/audio/xmms-curses/Makefile
==============================================================================
--- head/audio/xmms-curses/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/xmms-curses/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -19,7 +19,9 @@ USE_GNOME=	gtk12
 USE_XORG=	x11 xau xcb xdmcp xext xi
 
 do-build:
-	cd ${WRKSRC} && ${CC} ${CFLAGS} ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -lncurses `xmms-config --cflags --libs` -o xmms-curses *.c
+	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+		${CC} ${CFLAGS} -lpthread -lncurses \
+		`xmms-config --cflags --libs` -o xmms-curses *.c
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/xmms-curses ${STAGEDIR}${PREFIX}/bin

Modified: head/audio/xmms2-scrobbler/Makefile
==============================================================================
--- head/audio/xmms2-scrobbler/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/xmms2-scrobbler/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -16,7 +16,7 @@ LIB_DEPENDS=	libxmmsclient.so:${PORTSDIR
 		libcurl.so:${PORTSDIR}/ftp/curl
 
 USES=		gmake pkgconfig
-LDFLAGS+=	${PTHREAD_LIBS}
+LDFLAGS+=	-lpthread
 
 PLIST_FILES=	bin/xmms2-scrobbler
 PORTDOCS=	README

Modified: head/audio/zinf/Makefile
==============================================================================
--- head/audio/zinf/Makefile	Wed Mar 25 21:15:36 2015	(r382271)
+++ head/audio/zinf/Makefile	Wed Mar 25 21:37:39 2015	(r382272)
@@ -20,7 +20,7 @@ CONFIGURE_ARGS=	--enable-ipv6 \
 		--disable-arts
 
 CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
+LDFLAGS+=	-lpthread -L${LOCALBASE}/lib
 
 OPTIONS_DEFINE=	ESOUND VORBIS
 OPTIONS_DEFAULT=VORBIS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503252137.t2PLberO016941>