components/net-snmp/patches/023.6438650.python.patch
author Milan Cermak <Milan.Cermak@oracle.com>
Tue, 18 Jun 2013 14:37:40 +0200
branchs11-update
changeset 2654 6c8b5b00a1c7
parent 757 a37ee009302a
permissions -rw-r--r--
15797254 SUNBT7175895 Midnight Commander should be updated to 4.8.1.3 or later 16734069 MC needs to be made 64-bit
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