Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Sep 2001 17:26:27 +0200
From:      Neil Blakey-Milner <nbm@mithrandr.moria.org>
To:        Peter Pentchev <roam@ringlet.net>
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>
In-Reply-To: <200109071510.f87FA3883913@freefall.freebsd.org>; from roam@ringlet.net on Fri, Sep 07, 2001 at 08:10:03AM -0700
References:  <200109071510.f87FA3883913@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <roam@ringlet.net>
> 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 <clefevre@citeweb.net>
>  >  > > > 
>  >  > > >  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010907172627.A60785>