components/net-snmp/patches/023.6438650.python.patch
author Drew Fisher <drew.fisher@oracle.com>
Fri, 27 Jun 2014 10:51:53 -0600
changeset 1978 e9a8064da9fd
parent 757 a37ee009302a
permissions -rw-r--r--
19073547 editing built-in flavors fails with name too long
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