Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 May 2013 17:16:30 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r317134 - in head: devel/kBuild emulators/virtualbox-ose
Message-ID:  <201305021716.r42HGURs041417@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu May  2 17:16:30 2013
New Revision: 317134
URL: http://svnweb.freebsd.org/changeset/ports/317134

Log:
  bmake doesn't know about .SHELL unsetenv=true, workaround it

Modified:
  head/devel/kBuild/Makefile
  head/emulators/virtualbox-ose/Makefile

Modified: head/devel/kBuild/Makefile
==============================================================================
--- head/devel/kBuild/Makefile	Thu May  2 17:12:43 2013	(r317133)
+++ head/devel/kBuild/Makefile	Thu May  2 17:16:30 2013	(r317134)
@@ -35,7 +35,13 @@ KBUILD_BINS=	kDepIDB kDepPre kObjCache k
 PORTDOCS=	QuickReference-kmk.html \
 		QuickReference-kmk.txt
 
+# bmake doesn't know about unsetenv=true
+.if defined(.PARSEDIR)
+ENV=
+.export ENV
+.else
 .SHELL:		path="/bin/sh" unsetenv=true
+.endif
 
 post-patch:
 	${REINPLACE_CMD} -e '11269d;11274d' ${WRKSRC}/src/sed/configure

Modified: head/emulators/virtualbox-ose/Makefile
==============================================================================
--- head/emulators/virtualbox-ose/Makefile	Thu May  2 17:12:43 2013	(r317133)
+++ head/emulators/virtualbox-ose/Makefile	Thu May  2 17:16:30 2013	(r317134)
@@ -67,7 +67,13 @@ VDE_DESC=	Build with VDE support
 VNC_DESC=	Build with VNC support
 WEBSERVICE_DESC=	Build Webservice
 
+# bmake doesn't know about unsetenv=true
+.if defined(.PARSEDIR)
+ENV=
+.export ENV
+.else
 .SHELL:		path="/bin/sh" unsetenv=true
+.endif
 
 .include <bsd.port.options.mk>
 



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