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)
either IGNORE or BROKEN.
Since there seems to be some confusion, for the record:
BROKEN is reserved for ports that don't work. This will prevent
users from installing the port, but please note that
ports marked as BROKEN will still be built by bento
IGNORE is reserved for ports that should not be built for one
reason or another (including bento). Users and bento
will not build ports marked as IGNORE.
FORBIDDEN is reserved for security breakages only!!! Only mark a
port as FORBIDDEN if there is a security issue with the
port at the time.
Reviewed by: kris (portmgr)
2. Rewrote pkg-comment and pkg-descr files.
3. Marked pkg-plist file as not done.
4. Made do-build and do-install targets indicating that this port is
not at all ready to even be looked at. The repocopy was a placeholder
for when I can get to it.
list by bsd.port.mk insert anti foot-shooting device, which prevents
infinite fork loop when the user defines corresponding USE_XXX in global
make.conf, command line or environment.
Similar devices should probably be inserted into ports that might be inserted
into dependency list by others bsd.foo.mk files (bsd.ruby.mk, bsd.python.mk
and so on.)
since I'm doing most of the updating, and am working on a
port/Mk/bsd.<gnublah>.mk to move some cruft around.
Sponsored by: Mr. Smith and Mr. Wesson. :)
- Backout recent upgrade because it broke way too many ports;
- assign maintainership to portmgr@FreeBSD.org due to importancy of this port
to the overall ports infrastructure.
the inode numbers of files.
This should fix the "duplicated macros" error when aclocal is
invoked with `-I ${X11BASE}/share/aclocal' explicitly.
- Do not scan ${X11BASE}/share/aclocal if it does not exist. (Or it's
(a symlink to)* a directory)
This should fix the "no such directory" error when you build a non-X
port without X installed. (like on bento)
(ie: ${LOCALBASE}), but also ${X11BASE}/share/aclocal via an extra
patch and some configure-time substitution
Discussed on: ports (quite a while back)
Original disgusting hack by: ade
Suggested improvements by: asami
Reworked patch by: ade
previous changes to this port was one of them. This commit fixes:
- We definetely need to check the existence of ${PREFIX}/dir and generate
it if needed before install-info gets invoked.
- Use empty definition of STRIP instead of changing every appearance
of ${INSTALL_SCRIPT} in Makefile.in to ${INSTALL} especially since
this port installs no files that need to be stripped.
- No need to add rule to regenerate .info file when there's one in the
distributed Makefile.in.
- Instead of removing old piece of .info files in post-install target,
leave it to the .texi.info: rule in the distributed Makefile.