Skip to content

Commit

Permalink
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure s…
Browse files Browse the repository at this point in the history
…cript.

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)
  • Loading branch information
rafan committed Aug 21, 2008
1 parent 9f3176c commit c800726
Show file tree
Hide file tree
Showing 1,080 changed files with 102 additions and 1,247 deletions.
2 changes: 0 additions & 2 deletions Mk/bsd.gnome.mk
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,6 @@ gnomeprefix_USE_GNOME_IMPL=gnomehier
gnomeprefix_PREFIX=${LOCALBASE}
.endif

gnometarget_CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

ESD_CONFIG?= ${LOCALBASE}/bin/esd-config
esound_LIB_DEPENDS= esd.2:${PORTSDIR}/audio/esound
esound_CONFIGURE_ENV= ESD_CONFIG="${ESD_CONFIG}"
Expand Down
4 changes: 1 addition & 3 deletions Mk/bsd.kde.mk
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ CATEGORIES+=ipv6

## XXX - This really belongs into bsd.port.mk
.if !defined(_NO_KDE_CONFTARGET_HACK)
CONFIGURE_TARGET=
CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
--x-libraries=${LOCALBASE}/lib --x-includes=${LOCALBASE}/include \
CONFIGURE_ARGS+=--x-libraries=${LOCALBASE}/lib --x-includes=${LOCALBASE}/include \
--disable-as-needed
.endif

Expand Down
10 changes: 8 additions & 2 deletions Mk/bsd.port.mk
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ FreeBSD_MAINTAINER= [email protected]
# CONFIGURE_ARGS
# - Pass these args to configure if ${HAS_CONFIGURE} is set.
# Default: "--prefix=${PREFIX} --infodir=${PREFIX}/${INFO_PATH}
# --mandir=${MANPREFIX}/man ${CONFIGURE_TARGET}" if
# --mandir=${MANPREFIX}/man --build=${CONFIGURE_TARGET}" if
# GNU_CONFIGURE is set, "CC=${CC} CCFLAGS=${CFLAGS}
# PREFIX=${PREFIX} INSTALLPRIVLIB=${PREFIX}/lib
# INSTALLARCHLIB=${PREFIX}/lib" if PERL_CONFIGURE is set,
Expand Down Expand Up @@ -2814,6 +2814,7 @@ PKGLATESTFILE= ${PKGLATESTREPOSITORY}/${LATEST_LINK}${PKG_SUFX}

CONFIGURE_SCRIPT?= configure
CONFIGURE_TARGET?= ${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_TARGET:= ${CONFIGURE_TARGET:S/--build=//}
CONFIGURE_LOG?= config.log

# A default message to print if do-configure fails.
Expand All @@ -2824,7 +2825,7 @@ CONFIGURE_FAIL_MESSAGE?= "Please report the problem to ${MAINTAINER} [maintainer
.if !defined(CONFIGURE_MAX_CMD_LEN)
CONFIGURE_MAX_CMD_LEN!= ${SYSCTL} -n kern.argmax
.endif
CONFIGURE_ARGS+= --prefix=${PREFIX} $${_LATE_CONFIGURE_ARGS} ${CONFIGURE_TARGET}
CONFIGURE_ARGS+= --prefix=${PREFIX} $${_LATE_CONFIGURE_ARGS}
CONFIGURE_ENV+= lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN}
HAS_CONFIGURE= yes
Expand All @@ -2835,6 +2836,11 @@ SET_LATE_CONFIGURE_ARGS= \
fi ; \
if [ ! -z "`./${CONFIGURE_SCRIPT} --help 2>&1 | ${GREP} -- '--infodir'`" ]; then \
_LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --infodir=${PREFIX}/${INFO_PATH}/${INFO_SUBDIR}" ; \
fi ; \
if [ -z "`./${CONFIGURE_SCRIPT} --version 2>&1 | ${EGREP} '(2\.13|Unrecognized option)'`" ]; then \
_LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --build=${CONFIGURE_TARGET}" ; \
else \
_LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} ${CONFIGURE_TARGET}" ; \
fi ;
.endif
Expand Down
1 change: 0 additions & 1 deletion accessibility/yasr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ PORTDOCS= AUTHORS BUGS CREDITS ChangeLog NEWS README TODO \
README-br README-de README-es README-fr README-ru
SUB_FILES= pkg-message

CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
.if !defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --enable-nls
PLIST_SUB+= NLS=""
Expand Down
1 change: 0 additions & 1 deletion archivers/advancecomp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ COMMENT= Recompression utilities for .ZIP, .PNG, .MNG and .GZ files

USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

MAN1= advdef.1 advmng.1 advpng.1 advzip.1
PLIST_FILES= bin/advdef bin/advmng bin/advpng bin/advzip
Expand Down
1 change: 0 additions & 1 deletion archivers/arj/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ COMMENT= Open-source ARJ

USE_AUTOTOOLS= autoconf:262
USE_GMAKE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_WRKSRC= ${WRKSRC}/gnu
CONFIGURE_ENV= CFLAGS="-fPIC"
MAKEFILE= GNUmakefile
Expand Down
3 changes: 1 addition & 2 deletions archivers/dact/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ LIB_DEPENDS= mcrypt.8:${PORTSDIR}/security/libmcrypt \

USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
--libdir=${PREFIX}/lib
CONFIGURE_ARGS= --libdir=${PREFIX}/lib
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAKE_ARGS= TOBUILD="dact libdact.so dact.conf"
Expand Down
1 change: 0 additions & 1 deletion archivers/gzip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ MAINTAINER= [email protected]
COMMENT= A compression utility designed to be a replacement for compress

GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

MAN1= gunzip.1 gzexe.1 gzip.1 zcat.1 zcmp.1 zdiff.1 zforce.1 \
zgrep.1 zless.1 zmore.1 znew.1
Expand Down
1 change: 0 additions & 1 deletion archivers/libmspack/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ COMMENT= A library for Microsoft compression formats

USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes

post-patch:
Expand Down
1 change: 0 additions & 1 deletion archivers/libpar2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ COMMENT= A library for manipulating par2 files, extracted from par2cmdline
LIB_DEPENDS= sigc-2.0:${PORTSDIR}/devel/libsigc++20

GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
Expand Down
1 change: 0 additions & 1 deletion archivers/lzo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ COMMENT= Portable speedy, lossless data compression library

USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-shared
USE_LDCONFIG= yes

Expand Down
1 change: 0 additions & 1 deletion archivers/lzo2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ COMMENT= Portable speedy, lossless data compression library

USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-shared
USE_LDCONFIG= yes

Expand Down
1 change: 0 additions & 1 deletion archivers/lzop/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ LIB_DEPENDS= lzo.1:${PORTSDIR}/archivers/lzo
.endif

GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"

Expand Down
1 change: 0 additions & 1 deletion archivers/par2cmdline/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ MAINTAINER= [email protected]
COMMENT= Tools for using Parity v2 Archive files

GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

PORTDOCS= README
CONFLICTS= par2cmdline-tbb-[0-9]*
Expand Down
1 change: 0 additions & 1 deletion archivers/tardy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ MAINTAINER= [email protected]
COMMENT= Manipulate the file headers in tar archive files in various ways

GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

MAN1= tardy.1
PLIST_FILES= bin/tardy
Expand Down
1 change: 0 additions & 1 deletion archivers/ucl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

PORTDOCS= AUTHORS NEWS README THANKS TODO

Expand Down
1 change: 0 additions & 1 deletion astro/jday/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ USE_AUTOTOOLS= libtool:15
USE_GNOME= gnomehack
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

MAN1= jday.1

Expand Down
1 change: 0 additions & 1 deletion astro/libgal/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ MAINTAINER= [email protected]
COMMENT= General Astrodynamics Library

GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --prefix=${PREFIX} --sysconfdir=${PREFIX} --enable-shared=yes
USE_LDCONFIG= yes

Expand Down
1 change: 0 additions & 1 deletion astro/match/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ MAINTAINER= [email protected]
COMMENT= A program for matching star lists

GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

PLIST_FILES= bin/apply_match bin/match bin/project_coords

Expand Down
3 changes: 1 addition & 2 deletions audio/akode/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion audio/ample/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ MAINTAINER= [email protected]
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
Expand Down
2 changes: 0 additions & 2 deletions audio/arts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion audio/audiere/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
1 change: 0 additions & 1 deletion audio/autocd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ MAINTAINER= [email protected]
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
Expand Down
1 change: 0 additions & 1 deletion audio/blop/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down
2 changes: 0 additions & 2 deletions audio/checkmate/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion audio/cuetools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion audio/darkice/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion audio/faac/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion audio/faad/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion audio/flac/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
1 change: 0 additions & 1 deletion audio/flac123/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion audio/libjackasyn/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down
1 change: 0 additions & 1 deletion audio/lplayer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
1 change: 0 additions & 1 deletion audio/malint/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion audio/mp3splt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down
1 change: 0 additions & 1 deletion audio/mp3wrap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ MAINTAINER= [email protected]
COMMENT= Utility to merge mp3 files (and other formats)

GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}

Expand Down
1 change: 0 additions & 1 deletion audio/mpc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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" \

Expand Down
1 change: 0 additions & 1 deletion audio/mpg321/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion audio/mpiosh/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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>
1 change: 0 additions & 1 deletion audio/mt-daapd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions audio/musicpd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion audio/normalize/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion audio/ocp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}" \
Expand Down
Loading

0 comments on commit c800726

Please sign in to comment.