Date: Thu, 6 Sep 2001 07:00:03 -0700 (PDT) From: Peter Pentchev <roam@ringlet.net> To: freebsd-ports@FreeBSD.org Subject: Re: ports/30389: Maintainer update: misc/findutils (minor fix) Message-ID: <200109061400.f86E03g99955@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/30389; it has been noted by GNATS. From: Peter Pentchev <roam@ringlet.net> To: Cyrille Lefevre <clefevre@citeweb.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109061400.f86E03g99955>