diff options
author | rafan <rafan@FreeBSD.org> | 2008-08-21 14:18:49 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2008-08-21 14:18:49 +0800 |
commit | c8007265d81e778bec43e1f7b073b196887b3604 (patch) | |
tree | a30fd3dc7b50670b88ce6f8cf28e0ccf2b1e599a /print | |
parent | 9f3176cd391ec72812d7f37e93b881faa3648b45 (diff) | |
download | freebsd-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 'print')
-rw-r--r-- | print/cpp2latex/Makefile | 1 | ||||
-rw-r--r-- | print/cups-base/Makefile | 1 | ||||
-rw-r--r-- | print/cups-pstoraster/Makefile | 1 | ||||
-rw-r--r-- | print/enscript-letter/Makefile | 1 | ||||
-rw-r--r-- | print/foomatic-db/Makefile | 1 | ||||
-rw-r--r-- | print/kaspaliste/Makefile | 4 | ||||
-rw-r--r-- | print/libotf/Makefile | 1 | ||||
-rw-r--r-- | print/libpaper/Makefile | 1 | ||||
-rw-r--r-- | print/magicfilter/Makefile | 6 | ||||
-rw-r--r-- | print/mftrace/Makefile | 1 | ||||
-rw-r--r-- | print/tipograf/Makefile | 1 | ||||
-rw-r--r-- | print/typetools/Makefile | 1 |
12 files changed, 4 insertions, 16 deletions
diff --git a/print/cpp2latex/Makefile b/print/cpp2latex/Makefile index 227be37bee6b..7c46142d05d3 100644 --- a/print/cpp2latex/Makefile +++ b/print/cpp2latex/Makefile @@ -15,7 +15,6 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Convert C++ source to a file you can input in an LaTeX-document GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} PLIST_FILES= bin/cpp2latex PORTDOCS= AUTHORS ChangeLog README TODO diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile index e593adbd7ca6..013875d38dae 100644 --- a/print/cups-base/Makefile +++ b/print/cups-base/Makefile @@ -32,7 +32,6 @@ CPPFLAGS= -I${LOCALBASE}/include LDFLAGS= -L${LOCALBASE}/lib DSOFLAGS= -Wl,-rpath,${PREFIX}/lib -L${PREFIX}/lib CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" DSOFLAGS="${DSOFLAGS}" -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS+= --localstatedir=/var \ --disable-slp \ --disable-gssapi \ diff --git a/print/cups-pstoraster/Makefile b/print/cups-pstoraster/Makefile index b624169ee104..df33255a4724 100644 --- a/print/cups-pstoraster/Makefile +++ b/print/cups-pstoraster/Makefile @@ -37,7 +37,6 @@ USE_GMAKE= yes # We just need the ghostscript fonts, nothing more USE_GHOSTSCRIPT_RUN= yes GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ARGS= --without-x --with-gs=espgs diff --git a/print/enscript-letter/Makefile b/print/enscript-letter/Makefile index 4e17cc5e008c..e2c349abfa28 100644 --- a/print/enscript-letter/Makefile +++ b/print/enscript-letter/Makefile @@ -18,7 +18,6 @@ COMMENT= ASCII to PostScript filter GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-nls --with-media=${PS} -CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} INFO= enscript MAN1= diffpp.1 enscript.1 sliceprint.1 states.1 diff --git a/print/foomatic-db/Makefile b/print/foomatic-db/Makefile index 9646ade0da8e..5df023d92a99 100644 --- a/print/foomatic-db/Makefile +++ b/print/foomatic-db/Makefile @@ -26,7 +26,6 @@ USE_PERL5= yes USE_AUTOTOOLS= automake:15:env autoconf:262 GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} FOOMATICVER= 3.0 WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} diff --git a/print/kaspaliste/Makefile b/print/kaspaliste/Makefile index c215add5dbf3..24f6ee4024ac 100644 --- a/print/kaspaliste/Makefile +++ b/print/kaspaliste/Makefile @@ -19,9 +19,7 @@ USE_PGSQL= yes USE_KDEBASE_VER= 3 USE_AUTOTOOLS= libtool:15 USE_GMAKE= yes -CONFIGURE_TARGET= -CONFIGURE_ARGS+= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \ - --with-pg-includes=${LOCALBASE}/include \ +CONFIGURE_ARGS+= --with-pg-includes=${LOCALBASE}/include \ --with-pg-libs=${LOCALBASE}/lib PKGMESSAGE= ${WRKDIR}/pkg-message diff --git a/print/libotf/Makefile b/print/libotf/Makefile index ec9bd92933e4..5ce50ddada1e 100644 --- a/print/libotf/Makefile +++ b/print/libotf/Makefile @@ -17,7 +17,6 @@ LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 USE_GNOME= pkgconfig GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} USE_LDCONFIG= yes post-patch: diff --git a/print/libpaper/Makefile b/print/libpaper/Makefile index 575992b6af8c..f15ec8eabfa0 100644 --- a/print/libpaper/Makefile +++ b/print/libpaper/Makefile @@ -19,7 +19,6 @@ COMMENT= A library providing routines for paper size management USE_AUTOTOOLS= libtool:15 GNU_CONFIGURE= yes USE_LDCONFIG= yes -CONFIGURE_ARGS= --build=${CONFIGURE_TARGET} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} diff --git a/print/magicfilter/Makefile b/print/magicfilter/Makefile index a0f85c3c5f97..f3272987f556 100644 --- a/print/magicfilter/Makefile +++ b/print/magicfilter/Makefile @@ -16,10 +16,10 @@ COMMENT= Customizable, extensible automatic printer filter USE_GHOSTSCRIPT= yes -GNU_CONFIGURE= yes +HAS_CONFIGURE= yes CONFIGURE_SCRIPT= configure.sh -CONFIGURE_TARGET= -CONFIGURE_ARGS+= --confdir=${PREFIX}/etc \ +CONFIGURE_ARGS+= --prefix=${PREFIX} \ + --confdir=${PREFIX}/etc \ --filterdir=${PREFIX}/libexec/magicfilter \ --use-fifo CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} diff --git a/print/mftrace/Makefile b/print/mftrace/Makefile index 92abadf22769..1365097780e6 100644 --- a/print/mftrace/Makefile +++ b/print/mftrace/Makefile @@ -32,7 +32,6 @@ USE_PYTHON= yes GNU_CONFIGURE= yes USE_GMAKE= yes MAKEFILE= GNUmakefile -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} MAN1= mftrace.1 diff --git a/print/tipograf/Makefile b/print/tipograf/Makefile index 4be2aa631b3c..6e768e75a8bf 100644 --- a/print/tipograf/Makefile +++ b/print/tipograf/Makefile @@ -21,7 +21,6 @@ RUN_DEPENDS= a2ps:${PORTSDIR}/print/a2ps-letter USE_QT_VER= 3 USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --with-qt-dir=${QT_PREFIX} QTCPPFLAGS+= ${PTHREAD_CFLAGS} diff --git a/print/typetools/Makefile b/print/typetools/Makefile index 7ee6d1c82a43..a4bca633657a 100644 --- a/print/typetools/Makefile +++ b/print/typetools/Makefile @@ -18,7 +18,6 @@ COMMENT= Tools for manipulating fonts BUILD_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX-base GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --with-kpathsea=${LOCALBASE} MAN1= cfftot1.1 mmafm.1 mmpfb.1 otfinfo.1 otftotfm.1 t1dotlessj.1 \ |