components/net-snmp/patches/023.6438650.python.patch
author Tomas Klacko <tomas.klacko@oracle.com>
Fri, 02 May 2014 12:23:29 +0200
branchs11u1-sru
changeset 3109 1940d0927363
parent 757 a37ee009302a
permissions -rw-r--r--
17758422 50 or more exec options in snmpd.conf results in errors
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
757
a37ee009302a 6438650 USLD - Python should have SNMP support
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
--- net-snmp-5.4.1/Makefile.in.orig	2012-03-21 09:36:23.148069679 -0700
a37ee009302a 6438650 USLD - Python should have SNMP support
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
+++ net-snmp-5.4.1/Makefile.in	2012-03-21 09:36:56.194195238 -0700
a37ee009302a 6438650 USLD - Python should have SNMP support
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
@@ -207,7 +207,7 @@
a37ee009302a 6438650 USLD - Python should have SNMP support
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
         fi
a37ee009302a 6438650 USLD - Python should have SNMP support
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
 
a37ee009302a 6438650 USLD - Python should have SNMP support
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
 pythoninstall:
a37ee009302a 6438650 USLD - Python should have SNMP support
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
-	@(dir=`pwd`; cd python; $(PYMAKE) install --basedir=$$dir) ; \
a37ee009302a 6438650 USLD - Python should have SNMP support
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
+	@(dir=`pwd`; cd python; $(PYMAKE) install --basedir=$$dir --root $(DESTDIR) --install-lib=$(PYTHON_VENDOR_PACKAGES)) ; \
a37ee009302a 6438650 USLD - Python should have SNMP support
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
         if test $$? != 0 ; then \
a37ee009302a 6438650 USLD - Python should have SNMP support
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
            exit 1 ; \
a37ee009302a 6438650 USLD - Python should have SNMP support
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
         fi