By default, the order of autotools targets is: patch-autotools run-autotools; This seems OK with all the ports currently in the tree, but there is a problem with a new submitted port: please see PR ports/77359 (graphics/gephex) <http://www.freebsd.org/cgi/query-pr.cgi?pr=77359>. Autotools patches old ${WRKSRC}/aclocal.m4 from distribution and then executes aclocal, automake and so on. But executing aclocal rewrites patched version of aclocal.m4, so we have aclocal.m4 unpatched again. The following patch (seen with aDe and Igor Pokrovsky) allows to split the existing run-autotools: into sub-targets, which can be overwritten by the port. For example, graphics/gephex could set: # patch aclocal.m4 after aclocal to use correct libtool run-autotools: run-autotools-aclocal patch-autotools run-autotools-automake \ run-autotools-autoconf run-autotools-autoheader Fix: Please apply the following patch: How-To-Repeat: Build the submitted PR ports/77359 and check wich libtool is used.
Responsible Changed From-To: freebsd-ports-bugs->ade Assign to maintainer (just a reminder).
State Changed From-To: open->closed Committed, with minor cleanups.