svn commit: r317134 - in head: devel/kBuild emulators/virtualbox-ose

Baptiste Daroussin bapt at FreeBSD.org
Thu May 2 17:16:31 UTC 2013


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>
 


More information about the svn-ports-all mailing list