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)
- use %%DATADIR%% in pkg-plist
- As I'm maintainer of a slave port (chinese/enscript)
of this one, I would like to take this port.
- Change MACHINE_ARCH to ARCH, which follows bsd.port.mk
PR: ports/90135
Submitted by: Rong-En Fan <rafan@infor.org>
Erik Sjolund discovered several issues in enscript: it suffers from
several buffer overflows (CAN-2004-1186), quotes and shell escape
characters are insufficiently sanitized in filenames (CAN-2004-1185),
and it supported taking input from an arbitrary command pipe, with
unwanted side effects (CAN-2004-1184).
Obtained from: Gentoo
FWIW, checkout of these things took 5+hrs, staying on the local
.freebsd.org net w/o hitting the 'net at all.
As promised,
$ time cvs ci
real 67m51.701s
user 0m1.250s
sys 0m5.345s
share most files. Repository copy the default to explicitly named
directories to avoid any confusion. Greatly simplify the shared
Makefiles, since we are now in different subdirectories, we don't need
"a4-install" stuff.
While I'm here, consistently name the variables. Here are the
guidelines (master port is in brackets)
DOCFORMAT: [html] pdf ps
KONFONT: 14dot [16dot]
PAPERSIZE: a4 [letter] letterdj
RESOLUTION: 118 240 [300] 360 400 600
"math/r" has been copied to "R-a4" and "R-letter", to follow the
spirit of the original port. "japanese/kon" is renamed to "kon2-*",
since that seems to be the basename.
PR: 5095
Reviewed by: maintainer
Submitted by: Jeff Bartig <jeffb@doit.wisc.edu>
Delete empty line in pkg/DESCR to make portlint happy and
add a @dirrm in pkg/PLIST.
bsd.port.mk that will be committed soon, this will disable automatic
package building when PACKAGE_BUILDING is defined (so they can be
built from separate scripts).
These are no-ops for ordinary users (i.e., when PACKAGE_BUILDING is
not defined).
"?=" to "=" for MAKE_FLAGS, bsd.port.mk is read later anyway. Change
"/usr/local" to "${PREFIX}" and "/usr/bin/false" to ${FALSE}. Remove
spurious empty lines.
Many of the above found by: portlint