15936294 git build has problems if PROFILE environment variable is set
authorJan Noha <jan.noha@oracle.com>
Mon, 06 Oct 2014 05:24:07 -0700
changeset 2191 fee221cf6a3c
parent 2190 0e3f360be1b9
child 2192 31cdcfd53b4b
15936294 git build has problems if PROFILE environment variable is set
components/git/Makefile
--- a/components/git/Makefile	Wed Oct 29 17:55:16 2014 +0100
+++ b/components/git/Makefile	Mon Oct 06 05:24:07 2014 -0700
@@ -56,6 +56,11 @@
 CONFIGURE_OPTIONS  +=	--with-python=$(PYTHON)
 CONFIGURE_OPTIONS  +=	CFLAGS="$(CFLAGS)"
 
+# Build fails if environment variable PROFILE is set.
+COMPONENT_BUILD_ENV+=	PROFILE=
+COMPONENT_INSTALL_ENV+=	PROFILE=
+COMPONENT_TEST_ENV+=	PROFILE=
+
 COMPONENT_BUILD_ENV+=	NO_PERL_MAKEMAKER=1
 COMPONENT_INSTALL_ENV+=	PERL_LIB=$(shell $(PERL) -MConfig -e 'print "$$Config{installvendorarch}"')
 COMPONENT_INSTALL_ARGS+=	INSTALL="$(INSTALL)"