From owner-freebsd-ports Thu Sep 6 7: 0:13 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9016E37B406 for ; Thu, 6 Sep 2001 07:00:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f86E03g99955; Thu, 6 Sep 2001 07:00:03 -0700 (PDT) (envelope-from gnats) Date: Thu, 6 Sep 2001 07:00:03 -0700 (PDT) Message-Id: <200109061400.f86E03g99955@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: ports/30389: Maintainer update: misc/findutils (minor fix) Reply-To: Peter Pentchev 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 The following reply was made to PR ports/30389; it has been noted by GNATS. From: Peter Pentchev To: Cyrille Lefevre Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: ports/30389: Maintainer update: misc/findutils (minor fix) Date: Thu, 6 Sep 2001 16:55:10 +0300 On Thu, Sep 06, 2001 at 03:21:13PM +0200, Cyrille Lefevre wrote: > > >Number: 30389 > >Category: ports > >Synopsis: Maintainer update: misc/findutils (minor fix) > >Originator: Cyrille Lefevre > >Release: FreeBSD 4.4-RC i386 > >Organization: > ACME > >Environment: > > System: FreeBSD gits 4.4-RC FreeBSD 4.4-RC #29: Sat Aug 25 14:49:20 CEST 2001 root@gits:/disk2/4.x-stable/src/sys/compile/CUSTOM i386 > > >Description: > Makefile > MAKE_ARGS added. > >How-To-Repeat: > n/a > >Fix: > > Index: Makefile > =================================================================== > RCS file: /home/ncvs/ports/misc/findutils/Makefile,v > retrieving revision 1.10 > diff -u -r1.10 Makefile > --- Makefile 2001/06/09 12:59:31 1.10 > +++ Makefile 2001/09/06 13:20:21 > @@ -14,21 +14,20 @@ > > MAINTAINER= clefevre@redirect.to > > -GNU_CONFIGURE= yes > - > -# > # Global variables > # > > +GNU_CONFIGURE= yes > CONFIGURE_ARGS= --program-prefix=g # --localstatedir=${LOCALSTATEDIR} > MAKE_ARGS= INSTALL_SCRIPT="${INSTALL_SCRIPT}" > > USE_GMAKE= yes > +# PREFIX isn't honored. force it w/ prefix. > +MAKE_ARGS+= prefix=${PREFIX} Are you really sure of that? After a 'make PREFIX=~roam/tmp clean configure', I have: [root@ringworld:v5 /usr/ports/misc/findutils]# grep ^prefix work/findutils-4.1/Makefile prefix = /home/roam/tmp [root@ringworld:v5 /usr/ports/misc/findutils]# It would seem that GNU_CONFIGURE honors the PREFIX environment variable (as it has for quite some time..) Besides, as I pointed out in another email, even for cases when GNU configure scripts do not set the Makefile prefix properly, I think that MAKE_ENV would be a better place to put environment variables than MAKE_ARGS.. G'luck, Peter -- Do you think anybody has ever had *precisely this thought* before? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message