From owner-freebsd-ports@FreeBSD.ORG Mon Jun 13 18:15:31 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08D9716A41C for ; Mon, 13 Jun 2005 18:15:31 +0000 (GMT) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from viefep14-int.chello.at (viefep14-int.chello.at [213.46.255.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3232043D1F for ; Mon, 13 Jun 2005 18:15:30 +0000 (GMT) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from [80.98.207.149] by viefep14-int.chello.at (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20050613181528.NPCX7053.viefep14-int.chello.at@[80.98.207.149]>; Mon, 13 Jun 2005 20:15:28 +0200 Message-ID: <42ADCD3E.50103@t-hosting.hu> Date: Mon, 13 Jun 2005 20:15:26 +0200 From: =?ISO-8859-1?Q?K=F6vesd=E1n_G=E1bor?= User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Johnny Lam References: <42ADC155.10304@t-hosting.hu> <42ADC946.1090304@NetBSD.org> In-Reply-To: <42ADC946.1090304@NetBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-ports@freebsd.org Subject: Re: Makefile question X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2005 18:15:31 -0000 You're right, that was the problem, thanks. :) Cheers, Gábor Kövesdán Johnny Lam wrote: > > Line 2624 of ports/Mk/bsd.ports.mk always adds --prefix=${PREFIX} to > CONFIGURE_ARGS, and I think GNU configure scripts have the last option > taking precedence, meaning it overrides whatever you're setting in the > port Makefile. I don't know what the right thing to do is. Maybe you > can add your special CONFIGURE_ARGS setting after bsd.ports.mk is > included? In NetBSD pkgsrc, we created a new variable to solve this > problem -- GNU_CONFIGURE_PREFIX which defaults to ${PREFIX}, but can > be set to something else by the user. > > Cheers, > > -- Johnny Lam