20854847 net-snmp doesn't publish on s12_71
authorJohn Beck <John.Beck@Oracle.COM>
Thu, 09 Apr 2015 08:26:01 -0700
changeset 4092 376ba5d29e51
parent 4091 fca9099ab398
child 4093 5b5a00e33545
20854847 net-snmp doesn't publish on s12_71
components/net-snmp/Makefile
--- a/components/net-snmp/Makefile	Thu Apr 09 18:28:09 2015 -0700
+++ b/components/net-snmp/Makefile	Thu Apr 09 08:26:01 2015 -0700
@@ -46,6 +46,13 @@
 CFLAGS += $(studio_C99_ENABLE)
 CPPFLAGS += "-DFALSE_SHARING_ALIGN=64"
 
+# After Python 2.6 goes away, the COMPONENT_POST_{CONFIGURE,INSTALL}_ACTIONs
+# below can go away as well (for INSTALL_ACTION, 32-bit goes away; 64-bit
+# remains).
+PYTHON_VERSION=2.6
+
+CONFIGURE_ENV +=	PYTHONPROG=$(PYTHON.$(BITS))
+
 CONFIGURE_OPTIONS  +=	--with-default-snmp-version=3
 CONFIGURE_OPTIONS  +=	--with-sys-contact="root@localhost"
 CONFIGURE_OPTIONS  +=	--with-sys-location=Unknown
@@ -90,11 +97,6 @@
 COMPONENT_PRE_CONFIGURE_ACTION = \
 	($(CLONEY) $(SOURCE_DIR) $(@D); $(CLONEY) $(COMPONENT_DIR)/sun $(@D)/sun)
 
-# After Python 2.6 goes away, the COMPONENT_POST_{CONFIGURE,INSTALL}_ACTIONs
-# below can go away as well (for INSTALL_ACTION, 32-bit goes away; 64-bit
-# remains).
-PYTHON_VERSION=2.6
-
 # After we have configured, make a copy of the python bits so we
 # can build separate python 2.7 support.
 COMPONENT_POST_CONFIGURE_ACTION = (cd $(@D) ; cp -rp python python2.7)