freebsd-ports/Mk
Rong-En Fan 741aa71483 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)
2008-08-21 06:18:49 +00:00
..
bsd.apache.mk - Avoid "OPTIONS blackhole" during 'make make-options-list' 2007-09-19 21:03:59 +00:00
bsd.autotools.mk Update to the autotools new world order. 2007-07-28 06:33:59 +00:00
bsd.cmake.mk - Update to 2.6.1 2008-08-10 15:43:46 +00:00
bsd.commands.mk Support @rmtry in pkg-plist, analogous to @dirrmtry but for single file rm. 2008-04-14 16:46:41 +00:00
bsd.database.mk Add support for MySQL 6.0. 2008-07-26 08:38:53 +00:00
bsd.destdir.mk - Pass PATH variable to chrooted command, so BUILD/RUN_DEPENDS have a chance of 2008-03-11 23:37:32 +00:00
bsd.drupal.mk - Add support for drupal6* 2008-05-27 07:38:59 +00:00
bsd.efl.mk - Remove unneeded dependency from gtk12/gtk20 [1] 2008-04-19 17:56:05 +00:00
bsd.emacs.mk - Update editors/emacs to 22.2. 2008-06-03 14:36:50 +00:00
bsd.fpc.mk - Add support for freepascal based ports 2008-06-24 14:56:06 +00:00
bsd.gcc.mk Remove support for GCC 2.7 (the lang/gcc27 port) which, as it turns out, 2008-08-17 06:57:17 +00:00
bsd.gecko.mk Remove firefox3 from USE_GECKO; it does not work and wait for xulrunner 1.9 2008-08-06 16:26:18 +00:00
bsd.gnome.mk Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script. 2008-08-21 06:18:49 +00:00
bsd.gnustep.mk - update stable to 0.14.0 2008-08-12 09:26:51 +00:00
bsd.gstreamer.mk The FreeBSD GNOME team is proud to annunce the release of GNOME 2.22.0 for 2008-03-24 03:52:36 +00:00
bsd.java.mk . Add diablo-jdk16 and make it the default on 6.x and 7.x. 2008-08-18 15:42:41 +00:00
bsd.kde4.mk The KDE FreeBSD team is proud to announce the release of KDE 4.1.0 2008-08-09 16:52:28 +00:00
bsd.kde.mk Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script. 2008-08-21 06:18:49 +00:00
bsd.ldap.mk Fix typo: OPENLPAP should be spelled like OPENLDAP. 2008-07-22 01:59:22 +00:00
bsd.linux-rpm.mk Make bsd.linux-rpm.mk respect NOPORTDOCS variable. 2008-08-15 12:29:42 +00:00
bsd.local.mk Whitespace fix. 2006-12-10 18:15:33 +00:00
bsd.lua.mk - Merge patch-Makefile into patch-src-Makefile (both actually patch same file). 2008-08-10 19:29:43 +00:00
bsd.mail.mk - Extract command variable definitions from bsd.port.mk, they are now stored in 2007-08-04 11:37:24 +00:00
bsd.ocaml.mk - Add a knob to generate pkg-plist for ocaml findlib 2008-05-19 07:05:35 +00:00
bsd.openssl.mk - improve detection installed openssl port 2008-08-05 09:33:07 +00:00
bsd.perl.mk Doc change: PERL_ARCH is *always* mach. 2008-05-28 12:38:27 +00:00
bsd.php.mk Conversion from (now defunct) autoconf-2.61 to autoconf-2.62 2008-08-20 00:57:32 +00:00
bsd.port.mk Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script. 2008-08-21 06:18:49 +00:00
bsd.port.options.mk - Fix comments to match reality 2007-05-24 22:13:55 +00:00
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk Major optimizations for 'make index' and other recursive traversal 2008-07-19 17:59:41 +00:00
bsd.python.mk Major optimizations for 'make index' and other recursive traversal 2008-07-19 17:59:41 +00:00
bsd.qt.mk - Update to qt 4.4.1 2008-08-04 23:30:38 +00:00
bsd.ruby.mk - Update ruby to 1.8.6 patchset 287. 2008-08-15 21:45:56 +00:00
bsd.scons.mk - Remove unneeded dependency from gtk12/gtk20 [1] 2008-04-19 17:56:05 +00:00
bsd.sdl.mk Add support for SDL_console 2008-04-28 23:20:54 +00:00
bsd.sites.mk - Move easynet.be down the list of MySQL mirrors. Fetch from it hangs a lot. 2008-07-28 20:45:20 +00:00
bsd.tcl.mk - Overhaul bsd.tcl.mk: most importantly, change the semantics to match 2007-04-02 22:55:29 +00:00
bsd.wx.mk - Remove unneeded dependency from gtk12/gtk20 [1] 2008-04-19 17:56:05 +00:00
bsd.xfce.mk update xfce4 to 4.4.2 2008-02-12 18:11:07 +00:00
bsd.xorg.mk - Remove unneeded dependency from gtk12/gtk20 [1] 2008-04-19 17:56:05 +00:00