Autotools New World Order

Tijl Coosemans tijl at ulyssis.org
Tue Nov 15 08:47:57 PST 2005


On Tuesday 15 November 2005 16:42, Ade Lovett wrote:
> As some of you may have noticed, a tree-wide commit went in a short
> while back, radically changing the mechanisms for invoking the GNU
> autotools (automake, autoconf, libtool, et al) within the context of
> building a FreeBSD port.

I have a port (lang/sdcc) that uses autoconf and libtool depending on 
chosen options, so the old autotools variables were in different if 
blocks. Your patch has put them all together in one variable. Could you 
commit the attached patch to fix this? The configure step is currently 
broken for certain combinations of config options.
-------------- next part --------------
--- lang/sdcc/Makefile.orig	Tue Nov 15 17:31:38 2005
+++ lang/sdcc/Makefile	Tue Nov 15 17:28:13 2005
@@ -2,7 +2,7 @@
 # Date created:		3 May 2004
 # Whom:			Tijl Coosemans <tijl at ulyssis.org>
 #
-# $FreeBSD: /repoman/r/pcvs/ports/lang/sdcc/Makefile,v 1.5 2005/11/15 06:49:57 ade Exp $
+# $FreeBSD: ports/lang/sdcc/Makefile,v 1.5 2005/11/15 06:49:57 ade Exp $
 #
 
 PORTNAME=	sdcc
@@ -70,7 +70,7 @@
 PLIST_SUB+=		PIC16="@comment "
 .else
 BUILD_DEPENDS+=		gpasm:${PORTSDIR}/devel/gputils
-USE_AUTOTOOLS=	autoconf:259 libtool:15
+USE_AUTOTOOLS+=		autoconf:259
 PLIST_SUB+=		PIC16=""
 .endif
 
@@ -89,6 +89,7 @@
 CONFIGURE_ARGS+=	--disable-ucsim
 PLIST_SUB+=		UCSIM="@comment "
 .else
+USE_AUTOTOOLS+=		libtool:15
 LIBTOOLFILES=		sim/ucsim/aclocal.m4
 PLIST_SUB+=		UCSIM=""
 .endif


More information about the freebsd-ports mailing list