From: Ben Collins Date: Mon, 18 Oct 1999 13:54:16 +0000 (+0000) Subject: Make shlibs.default a template for other archs. No longer needed from i386 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d431d7f93d64464d6336ebfeef553c9d3bf67ce;p=dpkg Make shlibs.default a template for other archs. No longer needed from i386 --- diff --git a/debian/rules b/debian/rules index bb88af98..eb95800f 100755 --- a/debian/rules +++ b/debian/rules @@ -58,6 +58,12 @@ binary-trees: build else \ sed -e '/^# i386elf: /d' debian/preinst >$(mcidir)/preinst ; \ fi + set -e; if [ -f debian/shlibs.default.$(arch) ]; then \ + echo /etc/dpkg/shlibs.default >debian/tmp-dev/DEBIAN/conffiles ; \ + install -d debian/tmp-main/etc/dpkg; \ + install -m644 debian/shlibs.default.$(arch) \ + debian/tmp-dev/etc/dpkg/shlibs.default ; \ + fi cp debian/{prerm,postinst} $(mcidir)/. $(MAKE) -C $(BUILD) top_distdir=. dist $(MAKE) -C $(BUILD) \ diff --git a/debian/shlibs.default.i386 b/debian/shlibs.default.template similarity index 92% rename from debian/shlibs.default.i386 rename to debian/shlibs.default.template index 703abc74..58f52e5a 100644 --- a/debian/shlibs.default.i386 +++ b/debian/shlibs.default.template @@ -1,3 +1,4 @@ +# Default shlibs or original porting libc 6 libc6 libm 6 libc6 libncurses 4 libncurses4