[Pkg-net-snmp-commits] r321 - in branches/net-snmp54/debian: . patches
Jochen Friedrich
jochen at alioth.debian.org
Tue Dec 1 18:02:27 UTC 2009
Author: jochen
Date: 2009-12-01 18:01:48 +0000 (Tue, 01 Dec 2009)
New Revision: 321
Added:
branches/net-snmp54/debian/patches/62_add_lib_cflags.README
branches/net-snmp54/debian/patches/62_add_lib_cflags.patch
Modified:
branches/net-snmp54/debian/changelog
branches/net-snmp54/debian/patches/series
Log:
add option "--base-lib-cflags" to net-snmp-config
Modified: branches/net-snmp54/debian/changelog
===================================================================
--- branches/net-snmp54/debian/changelog 2009-12-01 17:44:54 UTC (rev 320)
+++ branches/net-snmp54/debian/changelog 2009-12-01 18:01:48 UTC (rev 321)
@@ -10,8 +10,10 @@
code (Closes: #558488). Also clean up old Replaces / Conflicts.
* Add patch from Pino Toscano <pino at kde.org> for hurd-i386 support.
Closes: #530289.
+ * Provide a new option --base-lib-cflags for CFLAGS without perl dependent
+ stuff. (Closes: #502806)
- -- Jochen Friedrich <jochen at scram.de> Tue, 01 Dec 2009 18:38:08 +0100
+ -- Jochen Friedrich <jochen at scram.de> Tue, 01 Dec 2009 18:40:38 +0100
net-snmp (5.4.2.1~dfsg-3) unstable; urgency=low
Added: branches/net-snmp54/debian/patches/62_add_lib_cflags.README
===================================================================
--- branches/net-snmp54/debian/patches/62_add_lib_cflags.README (rev 0)
+++ branches/net-snmp54/debian/patches/62_add_lib_cflags.README 2009-12-01 18:01:48 UTC (rev 321)
@@ -0,0 +1,2 @@
+Patch to add option "--base-lib-cflags" to net-snmp-config. This flag returns options needed to link
+against libnetsnmp. In particular, no perl specific options are provided.
Added: branches/net-snmp54/debian/patches/62_add_lib_cflags.patch
===================================================================
--- branches/net-snmp54/debian/patches/62_add_lib_cflags.patch (rev 0)
+++ branches/net-snmp54/debian/patches/62_add_lib_cflags.patch 2009-12-01 18:01:48 UTC (rev 321)
@@ -0,0 +1,38 @@
+Index: net-snmp-5.4.2.1/configure.in
+===================================================================
+--- net-snmp-5.4.2.1.orig/configure.in 2009-12-01 17:30:39.000000000 +0100
++++ net-snmp-5.4.2.1/configure.in 2009-12-01 17:30:40.000000000 +0100
+@@ -3050,6 +3050,10 @@
+ fi
+ fi
+
++# Save CFLAGS for net-snmp-config
++LIBCFLAGS="$CFLAGS"
++AC_SUBST(LIBCFLAGS)
++
+ ####################
+ # on to embedding...
+
+Index: net-snmp-5.4.2.1/net-snmp-config.in
+===================================================================
+--- net-snmp-5.4.2.1.orig/net-snmp-config.in 2009-12-01 17:30:12.000000000 +0100
++++ net-snmp-5.4.2.1/net-snmp-config.in 2009-12-01 17:31:16.000000000 +0100
+@@ -107,6 +107,9 @@
+ --base-cflags)
+ echo @CFLAGS@ @CPPFLAGS@ -I${NSC_INCLUDEDIR}
+ ;;
++ --base-lib-cflags)
++ echo @LIBCFLAGS@ @CPPFLAGS@ -I${NSC_INCLUDEDIR}
++ ;;
+ --cflags|--cf*)
+ echo @CFLAGS@ @DEVFLAGS@ @CPPFLAGS@ -I. -I${NSC_INCLUDEDIR}
+ ;;
+@@ -684,6 +687,8 @@
+ echo " These options produce the various compilation flags needed when"
+ echo " building external SNMP applications:"
+ echo ""
++ echo " --base-lib-cflags lists additional compilation flags needed for linking"
++ echo " against libsnmp"
+ echo " --base-cflags lists additional compilation flags needed"
+ echo " --cflags lists additional compilation flags needed"
+ echo " (includes -I. and extra developer warning flags)"
Modified: branches/net-snmp54/debian/patches/series
===================================================================
--- branches/net-snmp54/debian/patches/series 2009-12-01 17:44:54 UTC (rev 320)
+++ branches/net-snmp54/debian/patches/series 2009-12-01 18:01:48 UTC (rev 321)
@@ -14,3 +14,4 @@
59_fix_python.patch
60_libsensors_api.patch
61_vacm_missing_dependency_check.patch
+62_add_lib_cflags.patch
More information about the Pkg-net-snmp-commits
mailing list