[csw-devel] SF.net SVN: gar:[3980] csw/mgar/pkg/netsnmp/trunk

hson at users.sourceforge.net hson at users.sourceforge.net
Thu Mar 26 20:57:31 CET 2009


Revision: 3980
          http://gar.svn.sourceforge.net/gar/?rev=3980&view=rev
Author:   hson
Date:     2009-03-26 19:57:30 +0000 (Thu, 26 Mar 2009)

Log Message:
-----------
netsnmp: Enable python and perl modules again, patch required to get python to install

Modified Paths:
--------------
    csw/mgar/pkg/netsnmp/trunk/Makefile
    csw/mgar/pkg/netsnmp/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/netsnmp/trunk/files/Makefile.in.diff

Modified: csw/mgar/pkg/netsnmp/trunk/Makefile
===================================================================
--- csw/mgar/pkg/netsnmp/trunk/Makefile	2009-03-26 19:23:26 UTC (rev 3979)
+++ csw/mgar/pkg/netsnmp/trunk/Makefile	2009-03-26 19:57:30 UTC (rev 3980)
@@ -36,11 +36,14 @@
 CONFIGURE_ARGS += '--with-libwrap=/opt/csw/lib' 
 CONFIGURE_ARGS += '--enable-ipv6' 
 CONFIGURE_ARGS += '--with-transports=UDP TCP Unix' 
-CONFIGURE_ARGS += '--disable-embedded-perl'
-CONFIGURE_ARGS += '--with-perl-modules=no' 
-CONFIGURE_ARGS += '--with-python-modules=no'
+#CONFIGURE_ARGS += '--disable-embedded-perl'
+CONFIGURE_ARGS += '--with-perl-modules=yes' 
+CONFIGURE_ARGS += '--with-python-modules=yes'
 
+# Patch for perl modules
 PATCHFILES = perl_makefiles.diff
+# Patch for python module
+PATCHFILES += Makefile.in.diff
 
 LD_OPTIONS =
 export LD_OPTIONS

Modified: csw/mgar/pkg/netsnmp/trunk/checksums
===================================================================
--- csw/mgar/pkg/netsnmp/trunk/checksums	2009-03-26 19:23:26 UTC (rev 3979)
+++ csw/mgar/pkg/netsnmp/trunk/checksums	2009-03-26 19:57:30 UTC (rev 3980)
@@ -1,2 +1,3 @@
 984932520143f0c8bf7b7ce1fc9e1da1  download/net-snmp-5.4.2.1.tar.gz
 01897895a960cd9cafbf2457c1aff065  download/perl_makefiles.diff
+5e0ec3e4d3dd363437d85eca6b91951a  download/Makefile.in.diff

Added: csw/mgar/pkg/netsnmp/trunk/files/Makefile.in.diff
===================================================================
--- csw/mgar/pkg/netsnmp/trunk/files/Makefile.in.diff	                        (rev 0)
+++ csw/mgar/pkg/netsnmp/trunk/files/Makefile.in.diff	2009-03-26 19:57:30 UTC (rev 3980)
@@ -0,0 +1,11 @@
+--- ../build-global/net-snmp-5.4.2.1/Makefile.in	2007-06-08 22:32:56.000000000 +0200
++++ net-snmp-5.4.2.1/Makefile.in	2009-03-26 10:14:41.623488796 +0100
+@@ -207,7 +207,7 @@
+         fi
+ 
+ pythoninstall:
+-	@(dir=`pwd`; cd python; $(PYMAKE) install --basedir=$$dir) ; \
++	@(dir=`pwd`; cd python; $(PYMAKE) install --root=$(DESTDIR) --basedir=$$dir) ; \
+         if test $$? != 0 ; then \
+            exit 1 ; \
+         fi


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list