From owner-freebsd-ports Thu Nov 15 6:50:41 2001 Delivered-To: freebsd-ports@freebsd.org Received: from shumai.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id C654337B405 for ; Thu, 15 Nov 2001 06:50:38 -0800 (PST) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.6/8.11.6) with ESMTP id fAFEocW47634; Thu, 15 Nov 2001 09:50:38 -0500 (EST) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Thu, 15 Nov 2001 09:50:38 -0500 (EST) From: Joe Clarke To: Udo Schweigert Cc: freebsd-ports@FreeBSD.ORG Subject: Re: How to USE_AUTOMAKE for automake 1.5 In-Reply-To: <20011115070507.GA66412@alaska.cert.siemens.de> Message-ID: <20011115094635.S47613-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 15 Nov 2001, Udo Schweigert wrote: > On Thu, Nov 15, 2001 at 01:06:15 -0500, Joe Clarke wrote: > > Apologies if this has been asked. I didn't see anything in the archives. > > > > If I USE_AUTOMAKE and set AUTOMAKE= automake, the port still requires > > automake14. I guess I can explicitly add a BUILD_DEPENDS on automake 1.5, > > but I was wondering if there was a more preferred way to do this. Thanks. > > > > The BUILD_DEPENDS on automake14 is (at the moment) hardwired into > /usr/ports/Mk/bsd.port.mk. For using the most recent automake you have to > set AUTOMAKE=automake (as you already have done) and add a line like: > > BUILD_DEPENDS+=automake:${PORTSDIR}/devel/automake Thanks. That's what I thought. Yeah, the build of automake14 is a bit annoying. What about a modification to bsd.port.mk: .if defined(USE_AUTOMAKE) && ${AUTOMAKE} != automake USE_AUTOCONF= yes BUILD_DEPENDS+= automake:${PORTSDIR}/devel/automake .endif Something like that. Joe > > It's a little annoying that automake14 is also built if you build your port, > but as it is only a BUILD_DEPENDS it does not do any harm. > > (Maybe things with USE_AUTOMAKE and USE_AUTOCONF will again change, there > were some discussions on that) > > Best regards > > -- > Udo Schweigert, Siemens AG | Voice : +49 89 636 42170 > CT IC 3, Siemens CERT | Fax : +49 89 636 41166 > D-81730 Muenchen / Germany | email : udo.schweigert@siemens.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message