svn commit: r345779 - in head/devel/sgb: . files

Gerald Pfeifer gerald at pfeifer.com
Mon Feb 24 01:08:44 UTC 2014


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


More information about the svn-ports-head mailing list