summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-08-21 06:18:49 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-08-21 06:18:49 +0000
commit741aa714833b9bb1e9afaaf5124d3f5c60b5e49c (patch)
treee9b79b363f2fc4a63535a25c71491fa49a79b556 /archivers
parentUpgrade to 1.4. (diff)
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)
Notes
Notes: svn path=/head/; revision=218938
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 05df40d838fd..ad983196328e 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 2a871a38cd53..861852af3968 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 7637ed94bf21..c06c3c7b89d7 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 e01bf6300c33..ed4200f369ba 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 eaee5c03a102..97dd6768da11 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 e47fa24e0749..a76ea8079b85 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 62a939d0262e..367aafb9efec 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 9763892f6ec0..6c0c5a530003 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 54d3cec852d7..cb5541ae316c 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 fcd8fd838cd1..588bd0991d27 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 26df9a169917..6180d383af0b 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 9c21063c6fd9..5f9511728c61 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