Skip site navigation (1)Skip section navigation (2)
Date:      20 Mar 2014 09:39:33 +0200
From:      Nikola Kolev <koue@chaosophia.net>
To:        freebsd-ports-bugs@freebsd.org
Subject:   bsd.autotools.mk autotools execution order
Message-ID:  <Prayer.1.3.5.1403200939330.96124@chaosophia.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Prayer.1.3.5.1403200939330.96124>