bsd.autotools.mk autotools execution order

Nikola Kolev koue at chaosophia.net
Thu Mar 20 07:58:20 UTC 2014


Howdy,

According to /usr/ports/Mk/bsd.autotools.mk autotools execution order is:

run-autotools-aclocal
patch-autotools-libtool
run-autotools-autoheader
run-autotools-libtoolize
run-autotools-autoconf
run-autotools-automake


According to autoreconf-2.69 -v -i execution order is:

...
autoreconf-2.69: running: aclocal
...
autoreconf-2.69: running: libtoolize
...
autoreconf-2.69: running: /usr/local/bin/autoconf-2.69
...
autoreconf-2.69: running: /usr/local/bin/autoheader-2.69
...
autoreconf-2.69: running: automake
...

>From port's make autoheader has been executed BEFORE libtoolize and 
autoconf. From autoreconf autoheader has been executed AFTER libtoolize and 
autoconf.

I am trying to create new port and if execute autoreconf everything goes 
flat but if run make from the port autoheader starts to scream with missing 
folders which should be created by libtoolize. I have following lines in 
port's Makefile:

USES=libtool

USE_AUTOTOOLS=  aclocal libtoolize autoconf automake autoheader
 

--
Nikola


More information about the freebsd-ports-bugs mailing list