From owner-svn-ports-head@FreeBSD.ORG Mon Feb 24 01:08:44 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D097AE7F; Mon, 24 Feb 2014 01:08:44 +0000 (UTC) Received: from ainaz.pair.com (ainaz.pair.com [209.68.2.66]) by mx1.freebsd.org (Postfix) with ESMTP id AA86618D7; Mon, 24 Feb 2014 01:08:44 +0000 (UTC) Received: from [149.44.171.213] (charybdis-ext.suse.de [195.135.221.2]) by ainaz.pair.com (Postfix) with ESMTPSA id 571713F446; Sun, 23 Feb 2014 20:08:41 -0500 (EST) Date: Mon, 24 Feb 2014 02:08:54 +0100 (CET) From: Gerald Pfeifer To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r345779 - in head/devel/sgb: . files In-Reply-To: <201402240049.s1O0neDW021653@svn.freebsd.org> Message-ID: References: <201402240049.s1O0neDW021653@svn.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2014 01:08:44 -0000 On Mon, 24 Feb 2014, Gerald Pfeifer wrote: > Modified: head/devel/sgb/Makefile > ============================================================================== > --- head/devel/sgb/Makefile Mon Feb 24 00:10:06 2014 (r345778) > +++ head/devel/sgb/Makefile Mon Feb 24 00:49:40 2014 (r345779) > @@ -17,8 +17,8 @@ BUILD_DEPENDS= ctangle:${PORTSDIR}/devel > NO_WRKSUBDIR= yes > ALL_TARGET= lib tests > MAKE_JOBS_UNSAFE= yes > +MAKE_ENV+= STAGEDIR=${STAGEDIR} I was suprised I had to do this manually (and spent a fair amount of time and surprises until I realized this). Would there have been a better way to do this? (sed-ing Makefiles directly does not strike me as a better alternative.) > Modified: head/devel/sgb/files/patch-Makefile > ============================================================================== > --- head/devel/sgb/files/patch-Makefile Mon Feb 24 00:10:06 2014 (r345778) > +++ head/devel/sgb/files/patch-Makefile Mon Feb 24 00:49:40 2014 (r345779) > @@ -5,7 +5,7 @@ > > # Change SGBDIR to the directory where all GraphBase files will go: > -SGBDIR = /usr/local/sgb > -+SGBDIR = ${PREFIX} > ++SGBDIR = ${STAGEDIR}/${PREFIX} Gerald