From owner-freebsd-ports Fri Sep 7 8:26: 1 2001 Delivered-To: freebsd-ports@freebsd.org Received: from infinitive.futureperfectcorporation.com (curie.sunesi.com [196.25.112.244]) by hub.freebsd.org (Postfix) with SMTP id 835E337B406 for ; Fri, 7 Sep 2001 08:25:56 -0700 (PDT) Received: (qmail 45641 invoked by uid 0); 7 Sep 2001 15:25:53 -0000 Received: from choke.sunesi.net (HELO gerund.futureperfectcorporation.com) (196.25.112.242) by infinitive.futureperfectcorporation.com with SMTP; 7 Sep 2001 15:25:53 -0000 Received: (qmail 61035 invoked by uid 1001); 7 Sep 2001 15:26:27 -0000 Date: Fri, 7 Sep 2001 17:26:27 +0200 From: Neil Blakey-Milner To: Peter Pentchev Cc: freebsd-ports@FreeBSD.org, freebsd-gnats-submit@FreeBSD.org Subject: Re: ports/30380: Maintainer update: devel/gengetopt (2.4) Message-ID: <20010907172627.A60785@mithrandr.moria.org> References: <200109071510.f87FA3883913@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200109071510.f87FA3883913@freefall.freebsd.org>; from roam@ringlet.net on Fri, Sep 07, 2001 at 08:10:03AM -0700 Organization: iTouch Labs X-Operating-System: FreeBSD 4.3-RELEASE i386 X-URL: http://mithrandr.moria.org/nbm/ 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 Fri 2001-09-07 (08:10), Peter Pentchev wrote: > The following reply was made to PR ports/30380; it has been noted by GNATS. > > From: Peter Pentchev > To: freebsd-gnats-submit@FreeBSD.org > Cc: > Subject: Re: ports/30380: Maintainer update: devel/gengetopt (2.4) > Date: Fri, 7 Sep 2001 18:03:30 +0300 > > On Fri, Sep 07, 2001 at 08:00:07AM -0700, Peter Pentchev wrote: > > On Fri, Sep 07, 2001 at 04:20:38PM +0200, Cyrille Lefevre wrote: > > > Peter Pentchev wrote: > > > > On Thu, Sep 06, 2001 at 05:40:03AM -0700, Cyrille Lefevre wrote: > > > > > The following reply was made to PR ports/30380; it has been noted by GNATS. > > > > > > > > > > From: Cyrille Lefevre > > > > > > > > > > could you also add the following line below USE_GMAKE, > > > > > > > > > > MAKE_ARGS= prefix=${PREFIX} > > > > > > > > Does this really need to be in MAKE_ARGS? Does it not rather belong > > > > in MAKE_ENV? > > > > > > no, using gmake, this doesn't work using MAKE_ENV. MAKE_ARGS does. > > > > > > in fact, this hack allow you to build things for one destination and > > > to install them somewhere else (for installation tests for exemple). > > > I'll propose to make USE_GMAKE a dependency of GNU_CONFIGURE as well > > > as MAKE_ARGS+= prefix=${PREFIX} to make things working better... > > > > OBTW, I don't think building things for one destination and isntalling > > them into another is supported by the ports system. Even if it were, > > most automake-generated Makefiles have more than one variable for > > a destination dir location, not just 'prefix'. > > Of course, this applies to most auto*conf*-generated Makefiles, > not just for automake. autoconf+automake (and others) systems support --prefix for setting the prefix, and listen to the DESTDIR make variable as a base to install to. There's a PR to support this properly (28155), and we'll be looking into it after 4.4 is released. Neil -- Neil Blakey-Milner nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message