literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
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)
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav)
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
I have sent PRs of these ports several times, but there was
no response from maintainer and PRs were always commited
with timeout. So I will take over maintainershilp now.
PR: ports/90713
Submitted by: KIMURA Yasuhiro <yasu@utahime.org>
Approved by: maintainer timeout
- Refine startup script.
o Be friends with `/etc/rc.shutdown'.
o Accept only standard arguments.
o Add a $FreeBSD$ keyword.
PR: ports/20836
Submitted by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp> (MAINTAINER)
Now try to use those variables everywhere around DIST* and PATCH*
definitions as far as possible, for ease of the future updates and the
neatness.
Okay, 60% of `japanese' ports have been done. :)
Changes (from PR):
- japanese/ndtpd
o Set default syslog file for `/var/log/ndtpd.log'.
o Change the default working directory `/var/ndtpd' to `/var/run/ndtpd'.
* It will created by `${PREFIX}/etc/rc.d/ndtpd.sh'
(even if the user select "Inetd mode" !)
* Lock files and a PID file are created under it.
o Support some arguments in the startup script:
${PREFIX}/etc/rc.d/ndtpd.sh start|stop|kill|restart|status|terminate
o Separate the session to build `ndtpd.sh.sample'
from `post-install' into `post-build'.
o Don't configure EB sybsystem in NDTPD.
- japanese/eb
o Don't configure ZLIB sybsystem in EB.
o Don't define CONFIGURE_ENV.
* Suggested by Michael's last commit to japanese/ndtpd/Makefile.
PR: 16117
Submitted by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
eb-2.3, I changed the versions and recalculated the checksums.
Also, ndtpd/patches/patch-aa (by me) is for quieting ndtpd somewhat so
it won't leave dozens of lines to /var/log/messages every time someone
looks up a word, and eb/patches/patch-aa (by Kasahara-san, the
original author) is for changing the shared lib versions.
ndtpd/Makefile's LIB_DEPENDS was adjusted accordingly.
PR: 12130
Submitted by: maintainer
Reviewed (my changes) by: maintainer