This uses accept 'env' as an argument for ports that do use their own or a different do-configure target.
Modify xmkmf so it accept IMAKECPPFLAGS as default flags for imake and pass it to the called imake.
Modify xorg-cf-files (the FreeBSD.cf configuration file) to allow CppCmd to be overwritten.
Pass CppCmd CcCmd and CplusplusCmd via command line to each call of imake via IMAKECPPFLAGS
Pass IMAKE_DEFINE with the above arguments to MAKE_ARGS so that imake spawned from Makefile generated by a previous
imake also inherit the defined CppCmd CcCmd and CplusplusCmd.
Make imake use devel/tradcpp all the time, so that when buidling with clang we do not depend on gcc's cpp.
Make imake respect CC and CXX
Make imake respect USE_GCC (if set imake will use gcc's cpp).
While here:
- Remove a couple of indefinite articles from comments
- Trim headers
- Fix a couple of ports to build with clang or use: USE_GCC=any
- Fix a now useless redefinition of the extraction chain
- Fix a typo in japanese/Wnn7-lib bundled imake template definitions
- Fix some XMKMF execution with no env specified
- Use options helper in x11/xautolock to simplify the port
modular xorg.
- supply corresponding USE_XORG for all imake-using ports that need it
- USE_IMAKE no longer implies USE_XLIB in absence of USE_XORG
- retire USE_X_PREFIX which is not really used anywhere after the
above change
- a few minor nits like whitespace and SF macro
Tested by: 2 tinderbox runs by pav
Approved by: portmgr (pav)
don't USE_IMAKE, don't appear to change behaviour on NOMANCOMPRESS (many
do, subtly) and don't install more than one manpage.
Any port listed here is a good candidate for a general review simply
due to age... For example, a number of them seem to patch an install:
target into the program Makefile and/or arbitrarily compress their
manpages from patches/patch-*. This has been out-of-vogue since I would
guess mid-1996, at least.
MASTER_SITE_SUBDIR=games
swallace wasn't listed as MAINTAINER of any of his ports
janek@gaja.ipan.lublin.pl wasn't listed as MAINTAINER of any of his ports
bin.bin --> ${BINOWN}.${BINGRP}
chown --> /usr/sbin/chown
(not everyone has /usr/sbin in their path, esp. if you sudo'ed to root)
mkdir -p --> ${MKDIR}
PLISTs.
Note: I know that this is going to break some symlinks and/or .so
includes, I will back some of these out as I run into these during
package building.
there are lots of broken stuff and funky Makefiles here. Please check
your ports, and also put yourself in MAINTAINER so I know who to talk
to. Thanks....