propogated by copy and paste.
1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).
No PORTREVISION bumps because all of these changes are noops.
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)
- Correct pkg-plist by adding two newly added intermediate
libraries. [1]
- Use better way to make dependency on Berkeley DB. [2]
Pointy hat to: delphij
Reported by: Scot Hetzel <swhetzel gmail com> [1]
tinderbox via pav and edwin [2]
- Make BDB 4.6 as default BDB version;
- Modify MASTER_SITES according to official website.
Submitted by: delphij
PR: ports/118562
Approved by: maintainer timeout
supports them. This is determined by running ``configure --help'' in
do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
subdirectory detection.
PR: ports/111470
Approved by: portmgr
Discussed with: stas (Mk/*), gerald (info related stuffs)
Tested by: pointyhat exp run
- Respect users' PTHREEAD related settings
- Correct usage of BerkeleyDB
- Use Berkeley DB 4.4 per original authors
PR: ports/109707
Approved by: maintainer timeout (19 days)
when multiple db ports are installed
- Patch to explicitly link with included libpub.a, instead of one in /usr/local
- Patch to never rebuild documentation, the full copy is included
PR: ports/106790
Submitted by: Nick Barkas <snb@threerings.net>
Approved by: maintainer timeout (sergei; 1 month)
synced with sysutils/cfengine2 which it is going to replace.
The reason for that is Cfengine 2.x being the stable version now,
so the need for keeping both old 1.x (sysutils/cfengine) and the new
2.x (sysutils/cfengine2) has been obsoleted.
This is currently disconnected from the build.
authoritative FTP site for cfengine. Also remove the dependence on teTex
while port building since it is fscking huge and ugly. When package
building, add the dependence on teTex so more docs are available in the
package.
PR: 37239
Submitted by: maintainer
- USE_AUTO* -> USE_AUTO*_VER=* where required
- USE_AUTO* / *_DEPENDS=.*auto*:*/devel/auto* -> GNU_CONFIGURE where OK
- Other minor changes to fix things
These changes should be no-ops with the current bsd.port.mk, but will
assist in preparing for the next generation of USE_AUTO*.
Submitted by: bento 4-exp USE_AUTO* cleanups
http://people.FreeBSD.org/~will/4-exp/http://bento.FreeBSD.org/errorlogs/4-exp-latest/
* cfengine deadlocking in the resolver due to being linked against libc_r
* cfd issuing 'ioctl: No such network device' whenever it is invoked.
change maintainer email
add more docs
Patches obtained from Michael Kyle <mike@rainc.com>
PR: 29649
Submitted by: MAINTAINER
In fact, the only thing (that I can tell anyway) that uses the DB functions is
cfd. I'm guessing most people don't use it, especially since I haven't heard
any complaints about it.
Also, it was putting some of the docs in / (for some really strange reason).
That should be fixed too. They are now put in {PREFIX}/share/doc/cfengine,
depending on NOPORTSDOC (somewhat reverse logic than normal, but it made the
amount of changes less).
Finally, strip the binaries.
PR: 26189
Submitted by: maintainer