]> err.no Git - dpkg/commitdiff
Make shlibs.default a template for other archs. No longer needed from i386
authorBen Collins <bcollins@debian.org>
Mon, 18 Oct 1999 13:54:16 +0000 (13:54 +0000)
committerBen Collins <bcollins@debian.org>
Mon, 18 Oct 1999 13:54:16 +0000 (13:54 +0000)
debian/rules
debian/shlibs.default.template [moved from debian/shlibs.default.i386 with 92% similarity]

index bb88af987f7f33319f466de6840e83a2d8de5579..eb95800ff9c90f8562f794b7d951ca1706a0c530 100755 (executable)
@@ -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) \
similarity index 92%
rename from debian/shlibs.default.i386
rename to debian/shlibs.default.template
index 703abc74f812913c88b7b817188b04418031611e..58f52e5a78afbd4085a3841bf345c99f260cccfe 100644 (file)
@@ -1,3 +1,4 @@
+# Default shlibs or original porting
 libc 6         libc6
 libm 6         libc6
 libncurses 4  libncurses4