components/net-snmp/patches/023.6438650.python.patch
author Rich Burridge <rich.burridge@oracle.com>
Tue, 03 Apr 2012 13:30:32 -0700
changeset 757 a37ee009302a
permissions -rw-r--r--
6438650 USLD - Python should have SNMP support

--- net-snmp-5.4.1/Makefile.in.orig	2012-03-21 09:36:23.148069679 -0700
+++ net-snmp-5.4.1/Makefile.in	2012-03-21 09:36:56.194195238 -0700
@@ -207,7 +207,7 @@
         fi
 
 pythoninstall:
-	@(dir=`pwd`; cd python; $(PYMAKE) install --basedir=$$dir) ; \
+	@(dir=`pwd`; cd python; $(PYMAKE) install --basedir=$$dir --root $(DESTDIR) --install-lib=$(PYTHON_VENDOR_PACKAGES)) ; \
         if test $$? != 0 ; then \
            exit 1 ; \
         fi