tags 302195 + patch
thanks

See attached patch that does a quick fix of the mess.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
diff -ruN net-snmp-5.1.2/debian/rules net-snmp-5.1.2-fixed/debian/rules
--- net-snmp-5.1.2/debian/rules 2005-03-30 13:02:59.225480446 -0300
+++ net-snmp-5.1.2-fixed/debian/rules   2005-03-30 12:58:42.590204268 -0300
@@ -114,6 +114,13 @@
        #mkdir -p debian/tmp/usr/share/aclocal
        #cp net-snmp.m4 debian/tmp/usr/share/aclocal
 
+       # Fix all .la files
+       (cd $(CURDIR)/debian/tmp/usr/lib; \
+       for i in *.la ; do \
+               sed -e "s#libdir=.*#libdir='/usr/lib'#" < $$i >$$i.new && \
+                       mv $$i.new $$i ; \
+       done )
+
        dh_movefiles
        touch install-stamp

Reply via email to