aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2008-08-21 14:18:49 +0800
committerrafan <rafan@FreeBSD.org>2008-08-21 14:18:49 +0800
commitc8007265d81e778bec43e1f7b073b196887b3604 (patch)
treea30fd3dc7b50670b88ce6f8cf28e0ccf2b1e599a /audio
parent9f3176cd391ec72812d7f37e93b881faa3648b45 (diff)
downloadfreebsd-ports-gnome-c8007265d81e778bec43e1f7b073b196887b3604.tar.gz
freebsd-ports-gnome-c8007265d81e778bec43e1f7b073b196887b3604.tar.zst
freebsd-ports-gnome-c8007265d81e778bec43e1f7b073b196887b3604.zip
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the configure target. In short, one should use --build=CONFIGURE_TARGET instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning and the old semantic may be removed in later autoconf releases. To workaround this issue, many ports hack the CONFIGURE_TARGET variable so that it contains the ``--build='' prefix. To solve this issue, under the fact that some ports still have configure script generated by the old autoconf, we use runtime detection in the do-configure target so that the proper argument can be used. Changes to Mk/*: - Add runtime detection magic in bsd.port.mk - Remove CONFIGURE_TARGET hack in various bsd.*.mk - USE_GNOME=gnometarget is now an no-op Changes to individual ports, other than removing the CONFIGURE_TARGET hack: = pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables) - comms/gnuradio - science/abinit - science/elmer-fem - science/elmer-matc - science/elmer-meshgen2d - science/elmerfront - science/elmerpost = use x86_64 as ARCH - devel/g-wrap = other changes - print/magicfilter GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf Total # of ports modified: 1,027 Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes) PR: 126524 (obsoletes 52917) Submitted by: rafan Tested on: two pointyhat 7-amd64 exp runs (by pav) Approved by: portmgr (pav)
Diffstat (limited to 'audio')
-rw-r--r--audio/akode/Makefile3
-rw-r--r--audio/ample/Makefile1
-rw-r--r--audio/arts/Makefile2
-rw-r--r--audio/audiere/Makefile1
-rw-r--r--audio/autocd/Makefile1
-rw-r--r--audio/blop/Makefile1
-rw-r--r--audio/checkmate/Makefile2
-rw-r--r--audio/cuetools/Makefile1
-rw-r--r--audio/darkice/Makefile1
-rw-r--r--audio/faac/Makefile1
-rw-r--r--audio/faad/Makefile1
-rw-r--r--audio/flac/Makefile1
-rw-r--r--audio/flac123/Makefile1
-rw-r--r--audio/libjackasyn/Makefile1
-rw-r--r--audio/lplayer/Makefile1
-rw-r--r--audio/malint/Makefile1
-rw-r--r--audio/mp3splt/Makefile1
-rw-r--r--audio/mp3wrap/Makefile1
-rw-r--r--audio/mpc/Makefile1
-rw-r--r--audio/mpg321/Makefile1
-rw-r--r--audio/mpiosh/Makefile1
-rw-r--r--audio/mt-daapd/Makefile1
-rw-r--r--audio/musicpd/Makefile2
-rw-r--r--audio/normalize/Makefile1
-rw-r--r--audio/ocp/Makefile1
-rw-r--r--audio/openal/Makefile1
-rw-r--r--audio/osalp/Makefile1
-rw-r--r--audio/resid/Makefile1
-rw-r--r--audio/rioutil/Makefile1
-rw-r--r--audio/sdl_mixer/Makefile1
-rw-r--r--audio/sdl_sound/Makefile1
-rw-r--r--audio/snack/Makefile1
-rw-r--r--audio/sox/Makefile1
-rw-r--r--audio/taglib/Makefile3
-rw-r--r--audio/tse3/Makefile1
-rw-r--r--audio/umix/Makefile1
-rw-r--r--audio/vorbis-tools/Makefile1
-rw-r--r--audio/vorbisgain/Makefile1
-rw-r--r--audio/xanalyser/Makefile1
-rw-r--r--audio/xhippo/Makefile1
-rw-r--r--audio/xmms-arts_output/Makefile1
-rw-r--r--audio/xmms-faad/Makefile1
-rw-r--r--audio/xmms-flac/Makefile1
-rw-r--r--audio/xmms-jackasyn/Makefile1
-rw-r--r--audio/xoscope/Makefile1
45 files changed, 1 insertions, 51 deletions
diff --git a/audio/akode/Makefile b/audio/akode/Makefile
index cddd1a7afdaf..fc3767295e41 100644
--- a/audio/akode/Makefile
+++ b/audio/akode/Makefile
@@ -35,8 +35,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_LDCONFIG= yes
PLIST_SUB+= MACHINE_ARCH=${MACHINE_ARCH}
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
- --program-transform-name= \
+CONFIGURE_ARGS+=--program-transform-name= \
--with-extra-libs=${LOCALBASE}/lib \
--with-extra-includes=${LOCALBASE}/include
diff --git a/audio/ample/Makefile b/audio/ample/Makefile
index 3e60a77237d0..e5aadecbd0ec 100644
--- a/audio/ample/Makefile
+++ b/audio/ample/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Allows you to listen to your own MP3's away from home
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= ample.1
MAN5= ample.conf.5 ample.html.5
diff --git a/audio/arts/Makefile b/audio/arts/Makefile
index cba3f305a30c..59b9ff2bce0d 100644
--- a/audio/arts/Makefile
+++ b/audio/arts/Makefile
@@ -37,8 +37,6 @@ _NO_KDE_FINAL= yes
CFLAGS+= -DHAVE_VASPRINTF
CONFIGURE_ENV+= DO_NOT_COMPILE="${DO_NOT_COMPILE}"
-CONFIGURE_TARGET= # empty
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
OPTIONS= ESD "Enable esound support" off \
NAS "Enable NAS support" off
diff --git a/audio/audiere/Makefile b/audio/audiere/Makefile
index 0293fea31b3f..b7d3d725d2b0 100644
--- a/audio/audiere/Makefile
+++ b/audio/audiere/Makefile
@@ -19,7 +19,6 @@ WANT_WX= yes
USE_AUTOTOOLS= autoconf:262
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include/speex -I${LOCALBASE}/include" \
PTHREAD_LIBS="${PTHREAD_LIBS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
diff --git a/audio/autocd/Makefile b/audio/autocd/Makefile
index eaa6161a19a6..cd9381eec696 100644
--- a/audio/autocd/Makefile
+++ b/audio/autocd/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= KOT@MATPOCKuH.Ru
COMMENT= Compact disc control utility
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= cdctl.1 acdplay.1
MAN8= autocd.8
MLINKS= cdctl.1 eject.1 cdctl.1 pause.1
diff --git a/audio/blop/Makefile b/audio/blop/Makefile
index 0b572b6428e9..2df2b8653ab4 100644
--- a/audio/blop/Makefile
+++ b/audio/blop/Makefile
@@ -18,7 +18,6 @@ BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --with-ladspa-prefix="${LOCALBASE}"
diff --git a/audio/checkmate/Makefile b/audio/checkmate/Makefile
index 7df9a88a384f..6abaddfe303b 100644
--- a/audio/checkmate/Makefile
+++ b/audio/checkmate/Makefile
@@ -16,8 +16,6 @@ COMMENT= A command-line utility for checking mp3 files for errors
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
MAN1= mpck.1
MLINKS= mpck.1 checkmate.1
PLIST_FILES= bin/mpck
diff --git a/audio/cuetools/Makefile b/audio/cuetools/Makefile
index 0462eee7ad0e..369719ae5817 100644
--- a/audio/cuetools/Makefile
+++ b/audio/cuetools/Makefile
@@ -15,7 +15,6 @@ COMMENT= A set of utilities for working with cue files and toc files
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= cuebreakpoints.1 cueconvert.1 cueprint.1
PORTDOCS= README
diff --git a/audio/darkice/Makefile b/audio/darkice/Makefile
index 8b6c4d50908f..9eff90ccdc31 100644
--- a/audio/darkice/Makefile
+++ b/audio/darkice/Makefile
@@ -22,7 +22,6 @@ OPTIONS= VORBIS "Ogg Vorbis support" on \
JACK "Jack support" off
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --without-alsa
diff --git a/audio/faac/Makefile b/audio/faac/Makefile
index a14b1a4ff073..671edadeb9a1 100644
--- a/audio/faac/Makefile
+++ b/audio/faac/Makefile
@@ -26,7 +26,6 @@ USE_AUTOTOOLS= automake:19 autoheader:262 libtool:15
AUTOMAKE_ARGS= --add-missing
USE_GMAKE= yes
USE_DOS2UNIX= yes
-CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="-lmp4v2"
diff --git a/audio/faad/Makefile b/audio/faad/Makefile
index fba12d63eee5..e65528d407e0 100644
--- a/audio/faad/Makefile
+++ b/audio/faad/Makefile
@@ -20,7 +20,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
USE_DOS2UNIX= yes
USE_AUTOTOOLS= automake:15 autoheader:262 libtool:15
AUTOMAKE_ARGS= --add-missing
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
diff --git a/audio/flac/Makefile b/audio/flac/Makefile
index 37c7d32f9346..6e00843d077e 100644
--- a/audio/flac/Makefile
+++ b/audio/flac/Makefile
@@ -18,7 +18,6 @@ LIB_DEPENDS= ogg.5:${PORTSDIR}/audio/libogg
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --target=${ARCH}-unknown-freebsd${OSREL}
CONFIGURE_ARGS= --enable-sse \
--with-ogg="${LOCALBASE}" \
--disable-thorough-tests \
diff --git a/audio/flac123/Makefile b/audio/flac123/Makefile
index a5bcd4626b40..5388104bdcc2 100644
--- a/audio/flac123/Makefile
+++ b/audio/flac123/Makefile
@@ -20,7 +20,6 @@ LIB_DEPENDS= FLAC.10:${PORTSDIR}/audio/flac \
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
PORTDOCS= README.remote
PLIST_FILES= bin/flac123
diff --git a/audio/libjackasyn/Makefile b/audio/libjackasyn/Makefile
index 3eb991242748..57308ddfe8c7 100644
--- a/audio/libjackasyn/Makefile
+++ b/audio/libjackasyn/Makefile
@@ -28,7 +28,6 @@ CONFIGURE_ENV+= CC="${CC}" LDFLAGS="${LDFLAGS}"
MAKE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CFLAGS}"
CONFIGURE_ARGS= --prefix=${PREFIX}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= CC="${CC}" CXX="${CXX}" LDFLAGS="${LDFLAGS}"
MAKE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CXXFLAGS}"
diff --git a/audio/lplayer/Makefile b/audio/lplayer/Makefile
index f976095eeae9..26fb6a83e7ad 100644
--- a/audio/lplayer/Makefile
+++ b/audio/lplayer/Makefile
@@ -26,7 +26,6 @@ USE_XORG= x11 xinerama
USE_QT_VER= 3
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-xmms-prefix=${LOCALBASE} --with-xinerama
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
diff --git a/audio/malint/Makefile b/audio/malint/Makefile
index 7b9bd1d8f869..f2a20e14c263 100644
--- a/audio/malint/Makefile
+++ b/audio/malint/Makefile
@@ -17,7 +17,6 @@ COMMENT= MPEG Audio stream validator
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
PORTDOCS= README
PLIST_FILES= bin/malint
diff --git a/audio/mp3splt/Makefile b/audio/mp3splt/Makefile
index c422d5c1f5dd..cb6e8a830ff5 100644
--- a/audio/mp3splt/Makefile
+++ b/audio/mp3splt/Makefile
@@ -32,7 +32,6 @@ CONFIGURE_ARGS+=--disable-ogg
GNU_CONFIGURE= yes
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/audio/mp3wrap/Makefile b/audio/mp3wrap/Makefile
index b7a06d89bc19..3335fcd23e0a 100644
--- a/audio/mp3wrap/Makefile
+++ b/audio/mp3wrap/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= uspoerlein@gmail.com
COMMENT= Utility to merge mp3 files (and other formats)
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/audio/mpc/Makefile b/audio/mpc/Makefile
index b8522658c900..a03f633f170c 100644
--- a/audio/mpc/Makefile
+++ b/audio/mpc/Makefile
@@ -23,7 +23,6 @@ MAN1= mpc.1
.include <bsd.port.pre.mk>
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
diff --git a/audio/mpg321/Makefile b/audio/mpg321/Makefile
index 120595357af8..adc243f06c1d 100644
--- a/audio/mpg321/Makefile
+++ b/audio/mpg321/Makefile
@@ -31,7 +31,6 @@ MPG321_SCROBBLER_PLUGIN_NAME?= 321
.endif
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-mpg123-symlink
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/audio/mpiosh/Makefile b/audio/mpiosh/Makefile
index 329def8ec076..0c51baec17bc 100644
--- a/audio/mpiosh/Makefile
+++ b/audio/mpiosh/Makefile
@@ -21,7 +21,6 @@ USE_ICONV= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET=
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>
diff --git a/audio/mt-daapd/Makefile b/audio/mt-daapd/Makefile
index aff1c80ea741..37b25773db12 100644
--- a/audio/mt-daapd/Makefile
+++ b/audio/mt-daapd/Makefile
@@ -23,7 +23,6 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-id3tag=${PREFIX} --with-gdbm-includes=${LOCALBASE}/include
USE_AUTOTOOLS= autoheader:262 autoconf:262:env
diff --git a/audio/musicpd/Makefile b/audio/musicpd/Makefile
index eb1124f9e152..5101c923243e 100644
--- a/audio/musicpd/Makefile
+++ b/audio/musicpd/Makefile
@@ -37,8 +37,6 @@ OPTIONS= FLAC "Support for FLAC Audio" on \
PULSE "Support for PulseAudio" off \
SHOUT "Support for Icecast and Shoutcast" on
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
.include <bsd.port.pre.mk>
.ifdef(WITHOUT_FLAC)
diff --git a/audio/normalize/Makefile b/audio/normalize/Makefile
index f54572218ab1..aa55535b7ca2 100644
--- a/audio/normalize/Makefile
+++ b/audio/normalize/Makefile
@@ -18,7 +18,6 @@ LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --disable-helper-search
CPPFLAGS= -I${LOCALBASE}/include
diff --git a/audio/ocp/Makefile b/audio/ocp/Makefile
index 1d787a4b8990..0f29c94a81fa 100644
--- a/audio/ocp/Makefile
+++ b/audio/ocp/Makefile
@@ -32,7 +32,6 @@ LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -L${LOCALBASE}/lib
CXXFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CFLAGS="${CFLAGS} ${CPPFLAGS}" \
CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}" \
CPPFLAGS="${CPPFLAGS}" \
diff --git a/audio/openal/Makefile b/audio/openal/Makefile
index 993f7c0e6811..eacd64b2b753 100644
--- a/audio/openal/Makefile
+++ b/audio/openal/Makefile
@@ -17,7 +17,6 @@ COMMENT= A 3D positional spatialized sound library
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-capture
USE_GMAKE= yes
diff --git a/audio/osalp/Makefile b/audio/osalp/Makefile
index 0f8439616e9d..de4b7ac0ed70 100644
--- a/audio/osalp/Makefile
+++ b/audio/osalp/Makefile
@@ -19,7 +19,6 @@ LIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame \
vorbis.4:${PORTSDIR}/audio/libvorbis
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CFLAGS+= -fPIC -DPIC
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
diff --git a/audio/resid/Makefile b/audio/resid/Makefile
index 263614c653c1..3bbb786ae78a 100644
--- a/audio/resid/Makefile
+++ b/audio/resid/Makefile
@@ -18,7 +18,6 @@ USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-shared
.include <bsd.port.mk>
diff --git a/audio/rioutil/Makefile b/audio/rioutil/Makefile
index f1e1c097c90c..1ad61d795220 100644
--- a/audio/rioutil/Makefile
+++ b/audio/rioutil/Makefile
@@ -18,7 +18,6 @@ LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
diff --git a/audio/sdl_mixer/Makefile b/audio/sdl_mixer/Makefile
index 3566369758da..b1fb1acb7a70 100644
--- a/audio/sdl_mixer/Makefile
+++ b/audio/sdl_mixer/Makefile
@@ -19,7 +19,6 @@ USE_AUTOTOOLS= libtool:15
USE_SDL= sdl
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -DCONFIG_FILE_ETC_TIMIDITY \"${LOCALBASE}/etc/timidity.cfg\"
diff --git a/audio/sdl_sound/Makefile b/audio/sdl_sound/Makefile
index e4b4ba9dcbe4..73d2d4ec619c 100644
--- a/audio/sdl_sound/Makefile
+++ b/audio/sdl_sound/Makefile
@@ -18,7 +18,6 @@ COMMENT= A SDL audio library and player for some popular sound file formats
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
USE_SDL= sdl
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
OPTIONS= FLAC "Enable flac support" on \
diff --git a/audio/snack/Makefile b/audio/snack/Makefile
index 781be11ba48a..a5047e265639 100644
--- a/audio/snack/Makefile
+++ b/audio/snack/Makefile
@@ -23,7 +23,6 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix
OPTIONS= VORBIS "Support for OGG/Vorbis Audio" off
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl8.4 \
--with-tk=${LOCALBASE}/lib/tk8.4
MAKE_ENV= prefix=${PREFIX} exec_prefix=${PREFIX}
diff --git a/audio/sox/Makefile b/audio/sox/Makefile
index 580e08a36bc8..9c78b37d5e7d 100644
--- a/audio/sox/Makefile
+++ b/audio/sox/Makefile
@@ -21,7 +21,6 @@ MAN3= libsox.3
MAN7= soxexam.7 soxformat.7 soxeffect.7
MLINKS= sox.1 play.1 sox.1 rec.1
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
USE_AUTOTOOLS= libltdl
# src/Makefile uses ${RM} but never sets it
diff --git a/audio/taglib/Makefile b/audio/taglib/Makefile
index 132b4f152f6a..16da77f3e848 100644
--- a/audio/taglib/Makefile
+++ b/audio/taglib/Makefile
@@ -18,9 +18,6 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
post-patch:
@${REINPLACE_CMD} -e \
"s#\$$(libdir)/pkgconfig#${PREFIX}/libdata/pkgconfig#g" \
diff --git a/audio/tse3/Makefile b/audio/tse3/Makefile
index 8a00fe8216ca..bebc8e347c47 100644
--- a/audio/tse3/Makefile
+++ b/audio/tse3/Makefile
@@ -16,7 +16,6 @@ COMMENT= A MIDI library
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --without-doc-install
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
USE_LDCONFIG= yes
diff --git a/audio/umix/Makefile b/audio/umix/Makefile
index b1561a785a63..01432ea08613 100644
--- a/audio/umix/Makefile
+++ b/audio/umix/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Advanced tool for adjusting soundcard mixers, replacement for aumix
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= umix.1
PLIST_FILES= bin/umix
diff --git a/audio/vorbis-tools/Makefile b/audio/vorbis-tools/Makefile
index 1c628216f2ef..0d387d949123 100644
--- a/audio/vorbis-tools/Makefile
+++ b/audio/vorbis-tools/Makefile
@@ -24,7 +24,6 @@ LIB_DEPENDS= ao.3:${PORTSDIR}/audio/libao \
USE_GETTEXT= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-vcut
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
diff --git a/audio/vorbisgain/Makefile b/audio/vorbisgain/Makefile
index 227043f91d34..800e055bb723 100644
--- a/audio/vorbisgain/Makefile
+++ b/audio/vorbisgain/Makefile
@@ -18,7 +18,6 @@ COMMENT= Calculates the perceived sound level of an Ogg Vorbis file
LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/audio/xanalyser/Makefile b/audio/xanalyser/Makefile
index 2c1e18dfeb34..f3818464e70b 100644
--- a/audio/xanalyser/Makefile
+++ b/audio/xanalyser/Makefile
@@ -24,7 +24,6 @@ USE_AUTOTOOLS= libtool:15
MAN1= xanalyser.1
PLIST_FILES= bin/xanalyser \
lib/X11/app-defaults/XAnalyser
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
post-patch:
@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \
diff --git a/audio/xhippo/Makefile b/audio/xhippo/Makefile
index 143a4789fe78..0e0da2476c76 100644
--- a/audio/xhippo/Makefile
+++ b/audio/xhippo/Makefile
@@ -21,7 +21,6 @@ USE_GETTEXT= yes
USE_GNOME= gtk12
WANT_GNOME= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
DOCS= ChangeLog gnu-xhippo.html screenshot.jpeg xhippo.html.gz \
xhippo.info.gz xhippo.ps.gz xhippo.sgml xhippo.txt.gz
diff --git a/audio/xmms-arts_output/Makefile b/audio/xmms-arts_output/Makefile
index 0b6e1e3bfc81..a803687061c9 100644
--- a/audio/xmms-arts_output/Makefile
+++ b/audio/xmms-arts_output/Makefile
@@ -21,7 +21,6 @@ LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms \
USE_GNOME= gtk12
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= lib/xmms/Output/libarts.a \
lib/xmms/Output/libarts.la \
lib/xmms/Output/libarts.so \
diff --git a/audio/xmms-faad/Makefile b/audio/xmms-faad/Makefile
index da8fe80d1558..37c7c367d106 100644
--- a/audio/xmms-faad/Makefile
+++ b/audio/xmms-faad/Makefile
@@ -30,7 +30,6 @@ AUTOMAKE_ARGS= --add-missing
USE_GNOME= gtk12
USE_GMAKE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-xmms --with-mp4v2
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS} -DHAVE_GTK" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
diff --git a/audio/xmms-flac/Makefile b/audio/xmms-flac/Makefile
index 916efca93d0b..424e93b08f36 100644
--- a/audio/xmms-flac/Makefile
+++ b/audio/xmms-flac/Makefile
@@ -19,7 +19,6 @@ LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms \
FLAC.10:${PORTSDIR}/audio/flac
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --target=${ARCH}-unknown-freebsd${OSREL}
CONFIGURE_ARGS= --with-libiconv-prefix="${LOCALBASE}" \
--with-ogg="${LOCALBASE}" \
--with-xmms-prefix="${LOCALBASE}"
diff --git a/audio/xmms-jackasyn/Makefile b/audio/xmms-jackasyn/Makefile
index 8127f831330e..99f05e1cfe31 100644
--- a/audio/xmms-jackasyn/Makefile
+++ b/audio/xmms-jackasyn/Makefile
@@ -25,7 +25,6 @@ GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CXXFLAGS+= -I${LOCALBASE}/include
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CXXFLAGS}"
SUB_FILES= pkg-message
diff --git a/audio/xoscope/Makefile b/audio/xoscope/Makefile
index 427a0182cbf4..a03aad8daa25 100644
--- a/audio/xoscope/Makefile
+++ b/audio/xoscope/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= db@FreeBSD.org
COMMENT= Sound card oscilloscope
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --prefix=${PREFIX} --sysconfdir=${PREFIX}
USE_GMAKE= yes
USE_GNOME= gtk12