From owner-cvs-ports Thu Sep 11 19:57:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA23345 for cvs-ports-outgoing; Thu, 11 Sep 1997 19:57:21 -0700 (PDT) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id TAA23194; Thu, 11 Sep 1997 19:55:20 -0700 (PDT) Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <52417(1)>; Thu, 11 Sep 1997 19:54:46 PDT Received: from localhost by crevenia.parc.xerox.com with SMTP id <177486>; Thu, 11 Sep 1997 19:54:42 -0700 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 ... In-reply-to: Your message of "Thu, 11 Sep 97 19:09:24 PDT." <199709120209.TAA27843@silvia.HIP.Berkeley.EDU> Date: Thu, 11 Sep 1997 19:54:30 PDT From: Bill Fenner Message-Id: <97Sep11.195442pdt.177486@crevenia.parc.xerox.com> Sender: owner-cvs-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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