diff options
author | Bertrand Marc <beberking@gmail.com> | 2012-09-29 14:55:59 +0200 |
---|---|---|
committer | Bertrand Marc <beberking@gmail.com> | 2012-09-29 14:55:59 +0200 |
commit | 3b2e5addedcba24e2c64f6202bb6f2eafc42ddef (patch) | |
tree | 75e3a1272db0391f8bde2efca33d55285e5981ed | |
parent | 3146f13e0b136b2ca317940bc18deb932f3b339a (diff) |
Remove special nssdir and hopefully fix FTBFS on ia64 (Closes: #688590).
-rw-r--r-- | debian/patches/fix_nss_libdir.diff | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/debian/patches/fix_nss_libdir.diff b/debian/patches/fix_nss_libdir.diff new file mode 100644 index 0000000..19d3b0f --- /dev/null +++ b/debian/patches/fix_nss_libdir.diff @@ -0,0 +1,32 @@ +--- a/src/gns/nss/Makefile.am ++++ b/src/gns/nss/Makefile.am +@@ -21,16 +21,10 @@ + + AM_LDFLAGS=-avoid-version -module -export-dynamic + +-if HAVE_SUDO +-nssdir = /lib/ +-else +-nssdir = $(libdir) +-endif +- + LIBTOOL = $(SUDO_BINARY) $(SHELL) $(top_builddir)/libtool + + if !MINGW +-nss_LTLIBRARIES = \ ++lib_LTLIBRARIES = \ + libnss_gns.la \ + libnss_gns4.la \ + libnss_gns6.la +@@ -52,8 +46,8 @@ + libnss_gns6_la_LDFLAGS=$(libnss_gns_la_LDFLAGS) + + install-data-hook: +- $(SUDO_BINARY) $(SHELL) $(top_builddir)/libtool --finish $(nssdir) +- $(SUDO_BINARY) rm -f $(nssdir)/libnss_gns.la $(nssdir)/libnss_gns4.la $(nssdir)/libnss_gns6.la ++ $(SUDO_BINARY) $(SHELL) $(top_builddir)/libtool --finish $(libdir) ++ $(SUDO_BINARY) rm -f $(libdir)/libnss_gns.la $(libdir)/libnss_gns4.la $(libdir)/libnss_gns6.la + + uninstall-hook: +- $(SUDO_BINARY) rm -f $(nssdir)/libnss_gns.so.2 $(nssdir)/libnss_gns4.so.2 $(nssdir)/libnss_gns6.so.2 ++ $(SUDO_BINARY) rm -f $(libdir)/libnss_gns.so.2 $(libdir)/libnss_gns4.so.2 $(libdir)/libnss_gns6.so.2 |