El ds 23 de 02 del 2008 a les 13:14 +0100, en/na Loïc Minier va escriure: > Well isn't DEB_BUILD_OPTIONS=multiarch doing what you want?!
No, it sets usr/lib/$(DEB_HOST_GNU_TYPE) instead of usr/lib32. > If you can pass params to debian/rules binary, you can also try > overriding LIBDIR directly: > fakeroot debian/rules binary LIBDIR=usr/lib32 > (or MODULES_PATH, MODULE_FILES_D etc.; see pango1.0's debian/rules) That would do the trick. Is there a way to pass params from dpkg-buildpackage to debian/rules? Then I'd only need to add the extra chrpath call to keep lintian happy (attached).
--- pango1.0-1.18.4.orig/debian/rules 2008-02-23 13:55:50.000000000 +0100 +++ pango1.0-1.18.4/debian/rules 2008-02-21 00:18:38.000000000 +0100 @@ -238,6 +238,9 @@ # /usr/lib; see #432258 chrpath -d debian/$(UDEB_PKG)/$(LIBDIR)/*.so.* \ debian/$(UDEB_PKG)/$(MODULES_PATH)/*.so + # remove the rpath in more libs and modules + chrpath -d debian/$(SHARED_PKG)/$(LIBDIR)/*.so.* \ + debian/$(SHARED_PKG)/$(MODULES_PATH)/*.so # Remove the thai module to avoid extraneous dependencies rm -f debian/$(UDEB_PKG)/$(MODULES_PATH)/pango-thai-lang.so # empty the dependency_libs in the *.la files