Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 1997 19:54:30 PDT
From:      Bill Fenner <fenner@parc.xerox.com>
To:        asami@cs.berkeley.edu (Satoshi Asami)
Cc:        fenner@freebsd.org, cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-ports@freebsd.org
Subject:   Re: cvs commit: ports/mbone/vat Makefile ports/mbone/vat/patches patch-ab patch-ac patch-ad patch-aa ports/mbone/vic Makefile ports/mbone/vic/patches patch-ae patch-aa patch-ad ports/mbone/sdr Makefile ports/mbone/sdr/files Makefile.freebsd ... 
Message-ID:  <97Sep11.195442pdt.177486@crevenia.parc.xerox.com>
In-Reply-To: Your message of "Thu, 11 Sep 97 19:09:24 PDT." <199709120209.TAA27843@silvia.HIP.Berkeley.EDU> 

next in thread | previous in thread | raw e-mail | index | archive | help
asami@cs.berkeley.edu (Satoshi Asami) wrote:
>I see that these are new configure scripts generated by autoconf.  Can
>you just make them BUILD_DEPENDS on autoconf?  (That's why we have
>the autoconf port in there....)

Should there be a

USE_AUTOCONF=	yes

and something like

.if defined(USE_AUTOCONF)
BUILD_DEPENDS+=	autoconf:${PORTSDIR}/devel/autoconf
.endif

do-configure:
...
.if defined(HAS_CONFIGURE)
.if defined(USE_AUTOCONF)
	@echo "===>  Rebuilding configure script"
	@(cd ${WRKSRC} && ${AUTOCONF_ENV} autoconf ${AUTOCONF_ARGS})
.endif
...

in bsd.port.mk, so that every port that wants to use autoconf doesn't
have to have an explicit pre-configure target?

  Bill



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?97Sep11.195442pdt.177486>