freebsd-ports/Mk
Ade Lovett e360452599 Over the past few weeks, we have been testing the next
incarnation of ports/Mk/bsd.autotools.mk on the road to bringing
at least some semblance of sanity back to this corner of the
ports collection.

By far and away the easiest way to see the changes will be to
view the new file once committed, but here is a summary of the
changes:

1. USE_LIBTOOL, USE_AUTOCONF, USE_AUTOHEADER, USE_AUTOMAKE have
been fully deprecated.  Ports attempting to use these variables
after the commit will error out, and most obviously break INDEX
generation, with a helpful error message.  Instead, ports must
now specifically choose the version of any of these tools that
they need with the corresponding USE_*_VER variables.  Note that
these variables understand any and all versions of autotools ports
in the tree, there is no longer a need to have specific version
numbers hardcoded in the infrastructure of bsd.autotools.mk
(as there is now).  In particular, this will immediately open up
automake18 and autoconf259 for general use and beating.

2. Similarly for WANT_LIBTOOL, WANT_AUTOCONF, and WANT_AUTOMAKE.
Again, these have been fully deprecated, and the equivalent
WANT_*_VER versions should be used.

In order to preserve existing behavior for these variables, please
note the 20040314 entry in ports/CHANGES for the appropriate
version numbers to use for any ports in the GNATS queue.

Both WANT_* and USE_* bring in the relevant tool as a build
dependency, and set up a reasonably large number of variables
pointing to the right programs to be using in the port.  The
only difference at the moment, is that USE_* will run an extra
autotools-related configuration step, whereas WANT_* merely
requests the environment.

3. The helper knob USE_LIBLTDL has been added which currently
simply adds a LIB dependency on the libltdl port.

4. Three new variables have been introduced,
WANT_{LIBTOOL,AUTOCONF,AUTOMAKE}_RUN=yes.  These variables will
do nothing by themselves (a Work-In-Progress), but if the
appropriate autotool version is defined (either through
WANT_*_VER or USE_*_VER), this will add the relevant dependency
to RUN_DEPENDS.

Steps 3 and 4 now essentially negate the need for any kind of
direct dependency within a non-autotools port Makefile on
devel/autoconf*, devel/automake*, devel/libtool*, and devel/libltdl.

PR:		66037
Reviewed by:	4-exp bento cluster
2004-06-04 17:27:29 +00:00
..
bsd.autotools.mk Over the past few weeks, we have been testing the next 2004-06-04 17:27:29 +00:00
bsd.emacs.mk Move the ancient emacs 19.x port from editors/emacs to 2004-03-21 07:39:49 +00:00
bsd.gnome.mk - Adjust implications of libgsf_gnome to match reality 2004-05-22 21:09:11 +00:00
bsd.gnustep.mk - update to gcc33 2004-04-15 20:51:06 +00:00
bsd.java.mk . Remove parentheses around the comparison of ${OSVERSION}. This is in 2004-04-19 16:56:04 +00:00
bsd.kde.mk Move the conftargethack into the USE_KDELIBS_VER section so users of 2004-05-24 00:34:38 +00:00
bsd.kde4.mk Move the conftargethack into the USE_KDELIBS_VER section so users of 2004-05-24 00:34:38 +00:00
bsd.openssl.mk - Fix defaulting to openssl in base 2004-05-12 20:22:34 +00:00
bsd.php.mk Fix apache2 auto-detection, since apr is now conditional. 2004-02-09 10:37:45 +00:00
bsd.port.mk - Update default perl version from 5.8.2 to 5.8.4 2004-05-31 18:07:57 +00:00
bsd.port.post.mk Id->FreeBSD rename bis 1999-08-25 04:40:22 +00:00
bsd.port.pre.mk Id->FreeBSD rename bis 1999-08-25 04:40:22 +00:00
bsd.port.subdir.mk - Allow processing of info files in non-standard locations; the 2004-04-02 07:25:23 +00:00
bsd.python.mk - Update to Python 2.3.4. 2004-05-27 15:58:02 +00:00
bsd.ruby.mk Propagate RUBY_VER and RUBY_R through DEPENDS_ARGS. 2004-05-22 18:49:49 +00:00
bsd.sdl.mk - Chase libraries for new graphics/sdl_gfx version. 2004-05-19 21:14:18 +00:00
bsd.sites.mk Add a set of MASTER_SITEs for X.Org. 2004-05-31 20:03:45 +00:00