Date: Sat, 18 Nov 2000 01:09:27 +0200 From: Neil Blakey-Milner <nbm@mithrandr.moria.org> To: Jason R Mastaler <jason@mastaler.com> Cc: Ade Lovett <ade@FreeBSD.org>, freebsd-ports@FreeBSD.ORG Subject: Re: testing new port: "make" chooses bad INSTALL value Message-ID: <20001118010927.A46424@mithrandr.moria.org> In-Reply-To: <x7bsvfut17.fsf@aguirre.la.mastaler.com>; from jason@mastaler.com on Thu, Nov 16, 2000 at 09:22:28PM -0700 References: <00111618272201.01571@nightshade> <20001116193828.S47823@FreeBSD.org> <x7bsvfut17.fsf@aguirre.la.mastaler.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu 2000-11-16 (21:22), Jason R Mastaler wrote: > Ade Lovett <ade@FreeBSD.org> writes: > > > look for the following 4 lines somewhere at > > the bottom of the script: > > > > case "$ac_given_INSTALL" in > > [/$]*) INSTALL="$ac_given_INSTALL" ;; > > *) INSTALL="$ac_dots$ac_given_INSTALL" ;; > > esac > > > > and nuke 'em -- after that, you'll be fine. > > Thanks, I'll give this a try, but I'm still unclear as to why this is > only a problem when "make" drives configure, and not when I run it by > hand. I've been battling this for a while. It's a bug in autoconf - set INSTALL to /usr/bin/install manually, and it'll still happen. It's got nothing to do with make, it's got to do with "/" in the INSTALL environment variable. In one port I'm working on, I use: post-patch: @for a in `find ${WRKSRC} -type f -name configure`; do \ perl -i.orig -ne \ 'print if not /^ case "\$$ac_given_INSTALL/ .. /^[ \t]*esac/' \ $$a; \ done 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?20001118010927.A46424>