summaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2008-08-21 06:18:49 +0000
committerrafan <rafan@FreeBSD.org>2008-08-21 06:18:49 +0000
commitc8007265d81e778bec43e1f7b073b196887b3604 (patch)
treea30fd3dc7b50670b88ce6f8cf28e0ccf2b1e599a /deskutils
parent9f3176cd391ec72812d7f37e93b881faa3648b45 (diff)
downloadFreeBSD-ports-c8007265d81e778bec43e1f7b073b196887b3604.zip
FreeBSD-ports-c8007265d81e778bec43e1f7b073b196887b3604.tar.gz
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 'deskutils')
-rw-r--r--deskutils/calcurse/Makefile1
-rw-r--r--deskutils/doodle/Makefile1
-rw-r--r--deskutils/karamba/Makefile1
-rw-r--r--deskutils/kblticker/Makefile2
-rw-r--r--deskutils/kchmviewer-kde4/Makefile2
-rw-r--r--deskutils/kchmviewer/Makefile2
-rw-r--r--deskutils/kooldock/Makefile2
-rw-r--r--deskutils/pinot/Makefile1
-rw-r--r--deskutils/recoll/Makefile1
-rw-r--r--deskutils/tpb/Makefile1
10 files changed, 0 insertions, 14 deletions
diff --git a/deskutils/calcurse/Makefile b/deskutils/calcurse/Makefile
index 20af15c..cc235b3 100644
--- a/deskutils/calcurse/Makefile
+++ b/deskutils/calcurse/Makefile
@@ -15,7 +15,6 @@ COMMENT= A text-based personal organizer
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --prefix=${PREFIX}
MAN1= calcurse.1
diff --git a/deskutils/doodle/Makefile b/deskutils/doodle/Makefile
index 1f6d466..ff5d1b6 100644
--- a/deskutils/doodle/Makefile
+++ b/deskutils/doodle/Makefile
@@ -22,7 +22,6 @@ USE_GETTEXT= yes
USE_FAM= yes
USE_LDCONFIG= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= doodle.1 doodled.1
MAN3= libdoodle.3
diff --git a/deskutils/karamba/Makefile b/deskutils/karamba/Makefile
index df56d12..2e9092df 100644
--- a/deskutils/karamba/Makefile
+++ b/deskutils/karamba/Makefile
@@ -18,6 +18,5 @@ EXTRA_PATCHES= ${.CURDIR}/../../comms/kallers/files/patch-configure
USE_KDELIBS_VER=3
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.mk>
diff --git a/deskutils/kblticker/Makefile b/deskutils/kblticker/Makefile
index cb9c0ef..dbb88dd 100644
--- a/deskutils/kblticker/Makefile
+++ b/deskutils/kblticker/Makefile
@@ -22,6 +22,4 @@ USE_KDELIBS_VER= 3
CONFIGURE_ARGS+= --enable-final
-CONFIGURE_TARGET=
-
.include <bsd.port.mk>
diff --git a/deskutils/kchmviewer-kde4/Makefile b/deskutils/kchmviewer-kde4/Makefile
index f15ec80..908133c 100644
--- a/deskutils/kchmviewer-kde4/Makefile
+++ b/deskutils/kchmviewer-kde4/Makefile
@@ -37,8 +37,6 @@ USE_PERL5_BUILD=yes
RUN_DEPENDS+= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
PLIST_SUB+= KDE="@comment "
PLIST_SUB+= QT=""
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
DO_NOT_COMPILE+=kio-msits
.endif
diff --git a/deskutils/kchmviewer/Makefile b/deskutils/kchmviewer/Makefile
index f15ec80..908133c 100644
--- a/deskutils/kchmviewer/Makefile
+++ b/deskutils/kchmviewer/Makefile
@@ -37,8 +37,6 @@ USE_PERL5_BUILD=yes
RUN_DEPENDS+= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
PLIST_SUB+= KDE="@comment "
PLIST_SUB+= QT=""
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
DO_NOT_COMPILE+=kio-msits
.endif
diff --git a/deskutils/kooldock/Makefile b/deskutils/kooldock/Makefile
index 042c12a..f1d5cfe 100644
--- a/deskutils/kooldock/Makefile
+++ b/deskutils/kooldock/Makefile
@@ -17,8 +17,6 @@ COMMENT= OS-X dock-like for KDE
WRKSRC= ${WRKDIR}/kooldock
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
diff --git a/deskutils/pinot/Makefile b/deskutils/pinot/Makefile
index 2eec03d..51e66aa 100644
--- a/deskutils/pinot/Makefile
+++ b/deskutils/pinot/Makefile
@@ -39,7 +39,6 @@ RUN_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info \
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-http=curl --with-ssl=${OPENSSLBASE}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" MKDIR_P="${MKDIR}"
diff --git a/deskutils/recoll/Makefile b/deskutils/recoll/Makefile
index c9145fa..879e8b7 100644
--- a/deskutils/recoll/Makefile
+++ b/deskutils/recoll/Makefile
@@ -22,7 +22,6 @@ USE_QT_VER= 3
CONFIGURE_ENV= QMAKESPEC="freebsd-g++"
MAKE_ENV= ${CONFIGURE_ENV}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
USE_ICONV= yes
INSTALLS_ICONS= yes
diff --git a/deskutils/tpb/Makefile b/deskutils/tpb/Makefile
index 740aa47..bb2989b 100644
--- a/deskutils/tpb/Makefile
+++ b/deskutils/tpb/Makefile
@@ -23,7 +23,6 @@ GNU_CONFIGURE= yes
USE_ICONV= yes
USE_BISON= build
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE}
MAN1= tpb.1
OpenPOWER on IntegriCloud