[package] do not run ldconfig at the end of net-snmp compilation
authorFlorian Fainelli <florian@openwrt.org>
Sat, 1 Aug 2009 23:40:40 +0000 (23:40 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 1 Aug 2009 23:40:40 +0000 (23:40 +0000)
SVN-Revision: 17091

libs/net-snmp/patches/160-no_ldconfig.patch [new file with mode: 0644]

diff --git a/libs/net-snmp/patches/160-no_ldconfig.patch b/libs/net-snmp/patches/160-no_ldconfig.patch
new file mode 100644 (file)
index 0000000..f883c7f
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urN net-snmp-5.4.2.1/configure net-snmp-5.4.2.1.new/configure
+--- net-snmp-5.4.2.1/configure 2008-10-31 16:53:45.000000000 +0100
++++ net-snmp-5.4.2.1.new/configure     2009-08-02 00:46:05.000000000 +0200
+@@ -10218,7 +10218,7 @@
+   need_version=no
+   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+   soname_spec='${libname}${release}${shared_ext}$major'
+-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++  finish_cmds=''
+   shlibpath_var=LD_LIBRARY_PATH
+   shlibpath_overrides_runpath=no
+   # This implies no fast_install, which is unacceptable.