aboutsummaryrefslogtreecommitdiffstats
path: root/lang
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 /lang
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 'lang')
-rw-r--r--lang/asn1c/Makefile1
-rw-r--r--lang/cim/Makefile1
-rw-r--r--lang/elk/Makefile1
-rw-r--r--lang/erlang/Makefile1
-rw-r--r--lang/erlang14/Makefile1
-rw-r--r--lang/ferite/Makefile1
-rw-r--r--lang/g95/Makefile2
-rw-r--r--lang/gambas/Makefile1
-rw-r--r--lang/gawk/Makefile1
-rw-r--r--lang/gcc28/Makefile1
-rw-r--r--lang/gcc295/Makefile1
-rw-r--r--lang/gnustep-base/Makefile1
-rw-r--r--lang/gnustep-guile/Makefile1
-rw-r--r--lang/gprolog/Makefile1
-rw-r--r--lang/libutils/Makefile1
-rw-r--r--lang/onyx/Makefile1
-rw-r--r--lang/oo2c/Makefile1
-rw-r--r--lang/pcc/Makefile1
-rw-r--r--lang/python23/Makefile1
-rw-r--r--lang/python24/Makefile1
-rw-r--r--lang/python25/Makefile1
-rw-r--r--lang/python26/Makefile1
-rw-r--r--lang/python27/Makefile1
-rw-r--r--lang/python30/Makefile1
-rw-r--r--lang/python31/Makefile1
-rw-r--r--lang/python32/Makefile1
-rw-r--r--lang/see-devel/Makefile1
-rw-r--r--lang/see/Makefile1
-rw-r--r--lang/yabasic/Makefile1
29 files changed, 1 insertions, 29 deletions
diff --git a/lang/asn1c/Makefile b/lang/asn1c/Makefile
index 7fa41d0369a5..b36b88b51cc6 100644
--- a/lang/asn1c/Makefile
+++ b/lang/asn1c/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= vlm@lionet.info
COMMENT= Modern ASN.1 to C compiler
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_PERL5= yes
SUB_FILES= pkg-message
diff --git a/lang/cim/Makefile b/lang/cim/Makefile
index d579e0088b8c..0fe61948449b 100644
--- a/lang/cim/Makefile
+++ b/lang/cim/Makefile
@@ -17,7 +17,6 @@ COMMENT= Compiler for the SIMULA programming language
USE_AUTOTOOLS= libtool:15
USE_PERL5= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
MAN1= cim.1
diff --git a/lang/elk/Makefile b/lang/elk/Makefile
index a9bd3519fbdb..adf738407aac 100644
--- a/lang/elk/Makefile
+++ b/lang/elk/Makefile
@@ -20,7 +20,6 @@ LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm \
USE_BZIP2= yes
USE_MOTIF= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile
index 8df3c28ea4c3..e714f5295322 100644
--- a/lang/erlang/Makefile
+++ b/lang/erlang/Makefile
@@ -82,7 +82,6 @@ ERLANG_DOCS= otp_doc_html_R12B-3.tar.gz
.endif
ERLANG_PLIST= ${WRKDIR}/pkg-plist
-CONFIGURE_TARGET= # Empty
CONFIGURE_ARGS+= --enable-threads --enable-dynamic-ssl-lib
NOPRECIOUSMAKEVARS= yes # Prevent exporting of "ARCH"
diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile
index 8df3c28ea4c3..e714f5295322 100644
--- a/lang/erlang14/Makefile
+++ b/lang/erlang14/Makefile
@@ -82,7 +82,6 @@ ERLANG_DOCS= otp_doc_html_R12B-3.tar.gz
.endif
ERLANG_PLIST= ${WRKDIR}/pkg-plist
-CONFIGURE_TARGET= # Empty
CONFIGURE_ARGS+= --enable-threads --enable-dynamic-ssl-lib
NOPRECIOUSMAKEVARS= yes # Prevent exporting of "ARCH"
diff --git a/lang/ferite/Makefile b/lang/ferite/Makefile
index b056dc6fb4a7..5570d9b1798c 100644
--- a/lang/ferite/Makefile
+++ b/lang/ferite/Makefile
@@ -21,7 +21,6 @@ LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre \
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
USE_LDCONFIG= yes
diff --git a/lang/g95/Makefile b/lang/g95/Makefile
index a895d706b5a9..713f8c7bc774 100644
--- a/lang/g95/Makefile
+++ b/lang/g95/Makefile
@@ -55,7 +55,7 @@ pre-configure:
post-build:
cd ${WRKSRC}/libf95.a-${G95VERSION} && \
- ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} &&\
+ ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} ${CONFIGURE_TARGET} &&\
${MAKE_ENV} ${GMAKE}
post-install:
diff --git a/lang/gambas/Makefile b/lang/gambas/Makefile
index 525f1cb2c327..73cb6a3e79b2 100644
--- a/lang/gambas/Makefile
+++ b/lang/gambas/Makefile
@@ -32,7 +32,6 @@ CONFIGURE_ARGS= --with-conv-includes=${LOCALBASE}/include \
--with-moc=${LOCALBASE}/bin
CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
LIBS2FIX= libqt-mt libkdecore libkdeui libDCOP libkio
SRC2FIX1= configure src/comp/gbi.c src/exec/gbx_library.c
diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile
index e7086a087d3c..920c9d4981cb 100644
--- a/lang/gawk/Makefile
+++ b/lang/gawk/Makefile
@@ -23,7 +23,6 @@ EXTRA_PATCHES= ${PATCHDIR}/extra-patch-nowchar
.endif
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
--with-libintl-prefix=${LOCALBASE}
diff --git a/lang/gcc28/Makefile b/lang/gcc28/Makefile
index 57f63c5f9c97..7d6fc3a1e22d 100644
--- a/lang/gcc28/Makefile
+++ b/lang/gcc28/Makefile
@@ -29,7 +29,6 @@ DEPRECATED= This port is no longer in use by anything in the ports collection.
BROKEN= Does not compile on alpha
.endif
-CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= OSVERSION=${OSVERSION}
PLIST_SUB= GNUHOST=${CONFIGURE_TARGET}
.if ${OSVERSION} < 600011
diff --git a/lang/gcc295/Makefile b/lang/gcc295/Makefile
index 24f0a0bc5f4d..0503f0afbd24 100644
--- a/lang/gcc295/Makefile
+++ b/lang/gcc295/Makefile
@@ -46,7 +46,6 @@ LIBSTDCPP_REV= 2100
PLIST_SUB+= EGCS_REV=${GCC_REV} GNU_HOST=${CONFIGURE_TARGET}
GNU_CONFIGURE= yes
USE_GMAKE= yes
-CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld \
--with-gxx-include-dir=${TARGLIB}/include/g++
#CONFIGURE_ARGS+= --program-suffix=-295
diff --git a/lang/gnustep-base/Makefile b/lang/gnustep-base/Makefile
index b992f1edac8f..0bedb15e8249 100644
--- a/lang/gnustep-base/Makefile
+++ b/lang/gnustep-base/Makefile
@@ -21,7 +21,6 @@ LIB_DEPENDS+= gmp.7:${PORTSDIR}/math/libgmp4
USE_AUTOTOOLS= autoconf:262
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-procfs
-CONFIGURE_TARGET=
USE_GNUSTEP= yes
USE_GNUSTEP_PREFIX= yes
USE_GNUSTEP_CONFIGURE= yes
diff --git a/lang/gnustep-guile/Makefile b/lang/gnustep-guile/Makefile
index e713c1200a3f..55a2f4c0f6ad 100644
--- a/lang/gnustep-guile/Makefile
+++ b/lang/gnustep-guile/Makefile
@@ -28,7 +28,6 @@ USE_GNUSTEP_INSTALL= yes
USE_GNUSTEP_LDCONFIG= ${GNUSTEP_SYSTEM_LIBRARIES}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=
MAKE_FLAGS= OPTFLAG="${CFLAGS}"
PLIST_SUB+= GUILE_VER="${GUILE_VER}"
diff --git a/lang/gprolog/Makefile b/lang/gprolog/Makefile
index 1713ca742bae..8552105dcea7 100644
--- a/lang/gprolog/Makefile
+++ b/lang/gprolog/Makefile
@@ -19,7 +19,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:262
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-c-flags="${CFLAGS}" \
--with-doc-dir="${DOCSDIR}" \
--with-examples-dir="${EXAMPLESDIR}"
diff --git a/lang/libutils/Makefile b/lang/libutils/Makefile
index 10d20f6fe33d..4be689915e11 100644
--- a/lang/libutils/Makefile
+++ b/lang/libutils/Makefile
@@ -18,7 +18,6 @@ COMMENT= Support lib for Tensile/NSL
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ARGS= CFLAGS="${CFLAGS}"
USE_LDCONFIG= yes
diff --git a/lang/onyx/Makefile b/lang/onyx/Makefile
index d4c877458834..0e3058c0d393 100644
--- a/lang/onyx/Makefile
+++ b/lang/onyx/Makefile
@@ -19,7 +19,6 @@ LIB_DEPENDS= edit.6:${PORTSDIR}/devel/libedit \
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-libedit-prefix=${LOCALBASE} \
--with-pcre-prefix=${LOCALBASE}
USE_LDCONFIG= yes
diff --git a/lang/oo2c/Makefile b/lang/oo2c/Makefile
index c50598adfd74..1d7d82b1444b 100644
--- a/lang/oo2c/Makefile
+++ b/lang/oo2c/Makefile
@@ -21,7 +21,6 @@ LIB_DEPENDS= gc.1:${PORTSDIR}/devel/boehm-gc
DOCSDIR= lib/${PORTNAME}
USE_BZIP2= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/lang/pcc/Makefile b/lang/pcc/Makefile
index d6bd6168cba6..566500b9ff15 100644
--- a/lang/pcc/Makefile
+++ b/lang/pcc/Makefile
@@ -25,7 +25,6 @@ ONLY_FOR_ARCHS= i386
WRKSRC= ${WRKDIR}/${PORTNAME}-${DATESPEC}
GNU_CONFIGURE= yes
CONFIGURE_ENV+= YACC=${YACC}
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
PLIST_FILES= bin/pcc libexec/ccom libexec/cpp \
diff --git a/lang/python23/Makefile b/lang/python23/Makefile
index 6a6c06f94f83..b01cee877452 100644
--- a/lang/python23/Makefile
+++ b/lang/python23/Makefile
@@ -18,7 +18,6 @@ COMMENT?= An interpreted object-oriented programming language
DIST_SUBDIR= python
WRKSRC= ${PYTHON_WRKSRC}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-fpectl
CONFIGURE_ENV= OPT="${CFLAGS}"
MAKE_ENV= VPATH="${WRKSRC}"
diff --git a/lang/python24/Makefile b/lang/python24/Makefile
index 38023bd04ddc..3e719978b300 100644
--- a/lang/python24/Makefile
+++ b/lang/python24/Makefile
@@ -19,7 +19,6 @@ COMMENT?= An interpreted object-oriented programming language
DIST_SUBDIR= python
WRKSRC= ${PYTHON_WRKSRC}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= OPT="${CFLAGS}"
MAKE_ENV= VPATH="${WRKSRC}"
USE_LDCONFIG= yes
diff --git a/lang/python25/Makefile b/lang/python25/Makefile
index 087ddd147bfc..6224b163004d 100644
--- a/lang/python25/Makefile
+++ b/lang/python25/Makefile
@@ -19,7 +19,6 @@ DIST_SUBDIR= python
WRKSRC= ${PYTHON_WRKSRC}/portbld.static
PATCH_WRKSRC= ${PYTHON_WRKSRC}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_SCRIPT= ../configure # must be relative
CONFIGURE_ENV= OPT="${CFLAGS}" SVNVERSION="echo freebsd"
MAKE_ENV= VPATH="${PYTHON_WRKSRC}"
diff --git a/lang/python26/Makefile b/lang/python26/Makefile
index 087ddd147bfc..6224b163004d 100644
--- a/lang/python26/Makefile
+++ b/lang/python26/Makefile
@@ -19,7 +19,6 @@ DIST_SUBDIR= python
WRKSRC= ${PYTHON_WRKSRC}/portbld.static
PATCH_WRKSRC= ${PYTHON_WRKSRC}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_SCRIPT= ../configure # must be relative
CONFIGURE_ENV= OPT="${CFLAGS}" SVNVERSION="echo freebsd"
MAKE_ENV= VPATH="${PYTHON_WRKSRC}"
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index 087ddd147bfc..6224b163004d 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -19,7 +19,6 @@ DIST_SUBDIR= python
WRKSRC= ${PYTHON_WRKSRC}/portbld.static
PATCH_WRKSRC= ${PYTHON_WRKSRC}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_SCRIPT= ../configure # must be relative
CONFIGURE_ENV= OPT="${CFLAGS}" SVNVERSION="echo freebsd"
MAKE_ENV= VPATH="${PYTHON_WRKSRC}"
diff --git a/lang/python30/Makefile b/lang/python30/Makefile
index 087ddd147bfc..6224b163004d 100644
--- a/lang/python30/Makefile
+++ b/lang/python30/Makefile
@@ -19,7 +19,6 @@ DIST_SUBDIR= python
WRKSRC= ${PYTHON_WRKSRC}/portbld.static
PATCH_WRKSRC= ${PYTHON_WRKSRC}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_SCRIPT= ../configure # must be relative
CONFIGURE_ENV= OPT="${CFLAGS}" SVNVERSION="echo freebsd"
MAKE_ENV= VPATH="${PYTHON_WRKSRC}"
diff --git a/lang/python31/Makefile b/lang/python31/Makefile
index 087ddd147bfc..6224b163004d 100644
--- a/lang/python31/Makefile
+++ b/lang/python31/Makefile
@@ -19,7 +19,6 @@ DIST_SUBDIR= python
WRKSRC= ${PYTHON_WRKSRC}/portbld.static
PATCH_WRKSRC= ${PYTHON_WRKSRC}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_SCRIPT= ../configure # must be relative
CONFIGURE_ENV= OPT="${CFLAGS}" SVNVERSION="echo freebsd"
MAKE_ENV= VPATH="${PYTHON_WRKSRC}"
diff --git a/lang/python32/Makefile b/lang/python32/Makefile
index 087ddd147bfc..6224b163004d 100644
--- a/lang/python32/Makefile
+++ b/lang/python32/Makefile
@@ -19,7 +19,6 @@ DIST_SUBDIR= python
WRKSRC= ${PYTHON_WRKSRC}/portbld.static
PATCH_WRKSRC= ${PYTHON_WRKSRC}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_SCRIPT= ../configure # must be relative
CONFIGURE_ENV= OPT="${CFLAGS}" SVNVERSION="echo freebsd"
MAKE_ENV= VPATH="${PYTHON_WRKSRC}"
diff --git a/lang/see-devel/Makefile b/lang/see-devel/Makefile
index 765b611585e1..7247acd98b28 100644
--- a/lang/see-devel/Makefile
+++ b/lang/see-devel/Makefile
@@ -30,7 +30,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.pre.mk>
diff --git a/lang/see/Makefile b/lang/see/Makefile
index 180708490018..369941d7f1ba 100644
--- a/lang/see/Makefile
+++ b/lang/see/Makefile
@@ -31,7 +31,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.pre.mk>
diff --git a/lang/yabasic/Makefile b/lang/yabasic/Makefile
index 48f48cfbd109..cb4c2347a88a 100644
--- a/lang/yabasic/Makefile
+++ b/lang/yabasic/Makefile
@@ -17,7 +17,6 @@ COMMENT= Yet another Basic for Unix and Windows
USE_XORG= x11 ice sm xt
USE_BISON= build
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= yabasic.1
PORTDOCS= yabasic.htm