aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
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 /archivers
parent9f3176cd391ec72812d7f37e93b881faa3648b45 (diff)
downloadfreebsd-ports-graphics-c8007265d81e778bec43e1f7b073b196887b3604.tar.gz
freebsd-ports-graphics-c8007265d81e778bec43e1f7b073b196887b3604.tar.zst
freebsd-ports-graphics-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 'archivers')
-rw-r--r--archivers/advancecomp/Makefile1
-rw-r--r--archivers/arj/Makefile1
-rw-r--r--archivers/dact/Makefile3
-rw-r--r--archivers/gzip/Makefile1
-rw-r--r--archivers/libmspack/Makefile1
-rw-r--r--archivers/libpar2/Makefile1
-rw-r--r--archivers/lzo/Makefile1
-rw-r--r--archivers/lzo2/Makefile1
-rw-r--r--archivers/lzop/Makefile1
-rw-r--r--archivers/par2cmdline/Makefile1
-rw-r--r--archivers/tardy/Makefile1
-rw-r--r--archivers/ucl/Makefile1
12 files changed, 1 insertions, 13 deletions
diff --git a/archivers/advancecomp/Makefile b/archivers/advancecomp/Makefile
index 05df40d838f..ad983196328 100644
--- a/archivers/advancecomp/Makefile
+++ b/archivers/advancecomp/Makefile
@@ -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
diff --git a/archivers/arj/Makefile b/archivers/arj/Makefile
index 2a871a38cd5..861852af396 100644
--- a/archivers/arj/Makefile
+++ b/archivers/arj/Makefile
@@ -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
diff --git a/archivers/dact/Makefile b/archivers/dact/Makefile
index 7637ed94bf2..c06c3c7b89d 100644
--- a/archivers/dact/Makefile
+++ b/archivers/dact/Makefile
@@ -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"
diff --git a/archivers/gzip/Makefile b/archivers/gzip/Makefile
index e01bf6300c3..ed4200f369b 100644
--- a/archivers/gzip/Makefile
+++ b/archivers/gzip/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= gabor@FreeBSD.org
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
diff --git a/archivers/libmspack/Makefile b/archivers/libmspack/Makefile
index eaee5c03a10..97dd6768da1 100644
--- a/archivers/libmspack/Makefile
+++ b/archivers/libmspack/Makefile
@@ -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:
diff --git a/archivers/libpar2/Makefile b/archivers/libpar2/Makefile
index e47fa24e074..a76ea8079b8 100644
--- a/archivers/libpar2/Makefile
+++ b/archivers/libpar2/Makefile
@@ -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"
diff --git a/archivers/lzo/Makefile b/archivers/lzo/Makefile
index 62a939d0262..367aafb9efe 100644
--- a/archivers/lzo/Makefile
+++ b/archivers/lzo/Makefile
@@ -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
diff --git a/archivers/lzo2/Makefile b/archivers/lzo2/Makefile
index 9763892f6ec..6c0c5a53000 100644
--- a/archivers/lzo2/Makefile
+++ b/archivers/lzo2/Makefile
@@ -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
diff --git a/archivers/lzop/Makefile b/archivers/lzop/Makefile
index 54d3cec852d..cb5541ae316 100644
--- a/archivers/lzop/Makefile
+++ b/archivers/lzop/Makefile
@@ -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"
diff --git a/archivers/par2cmdline/Makefile b/archivers/par2cmdline/Makefile
index fcd8fd838cd..588bd0991d2 100644
--- a/archivers/par2cmdline/Makefile
+++ b/archivers/par2cmdline/Makefile
@@ -17,7 +17,6 @@ MAINTAINER= ganael.laplanche@martymac.com
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]*
diff --git a/archivers/tardy/Makefile b/archivers/tardy/Makefile
index 26df9a16991..6180d383af0 100644
--- a/archivers/tardy/Makefile
+++ b/archivers/tardy/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= ehaupt@FreeBSD.org
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
diff --git a/archivers/ucl/Makefile b/archivers/ucl/Makefile
index 9c21063c6fd..5f9511728c6 100644
--- a/archivers/ucl/Makefile
+++ b/archivers/ucl/Makefile
@@ -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