From owner-freebsd-ports Fri Nov 17 15: 9:40 2000 Delivered-To: freebsd-ports@freebsd.org Received: from rucus.ru.ac.za (rucus.ru.ac.za [146.231.29.2]) by hub.freebsd.org (Postfix) with SMTP id BEC6337B479 for ; Fri, 17 Nov 2000 15:09:31 -0800 (PST) Received: (qmail 48935 invoked by uid 1003); 17 Nov 2000 23:09:27 -0000 Date: Sat, 18 Nov 2000 01:09:27 +0200 From: Neil Blakey-Milner To: Jason R Mastaler Cc: Ade Lovett , freebsd-ports@FreeBSD.ORG Subject: Re: testing new port: "make" chooses bad INSTALL value Message-ID: <20001118010927.A46424@mithrandr.moria.org> References: <00111618272201.01571@nightshade> <20001116193828.S47823@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: ; from jason@mastaler.com on Thu, Nov 16, 2000 at 09:22:28PM -0700 X-Operating-System: FreeBSD 4.1-STABLE i386 X-URL: http://mithrandr.moria.org/nbm/ Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu 2000-11-16 (21:22), Jason R Mastaler wrote: > Ade Lovett 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