Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2014 02:08:54 +0100 (CET)
From:      Gerald Pfeifer <gerald@pfeifer.com>
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
Message-ID:  <alpine.LSU.2.11.1402240206580.2233@tuna.site>
In-Reply-To: <201402240049.s1O0neDW021653@svn.freebsd.org>
References:  <201402240049.s1O0neDW021653@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LSU.2.11.1402240206580.2233>