20854847 net-snmp doesn't publish on s12_71 s11-update
authorJohn Beck <John.Beck@Oracle.COM>
Thu, 09 Apr 2015 08:26:01 -0700
branchs11-update
changeset 4101 8fdc3fbc764b
parent 4100 8aea711f849c
child 4102 02730b605ff4
20854847 net-snmp doesn't publish on s12_71
components/net-snmp/Makefile
--- a/components/net-snmp/Makefile	Wed Apr 08 19:11:50 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="[email protected]"
 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)