From 958e64e2a098ed6d9cc0c4fc602de2075cbc40c0 Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 11 Dec 2009 02:09:17 +0000 Subject: [PATCH] shorewall6-lite: fix installation on non-GNU systems git-svn-id: svn://svn.openwrt.org/openwrt/packages@18736 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches/130-portability.patch | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ipv6/shorewall6-lite/patches/130-portability.patch diff --git a/ipv6/shorewall6-lite/patches/130-portability.patch b/ipv6/shorewall6-lite/patches/130-portability.patch new file mode 100644 index 000000000..dac3cd1e1 --- /dev/null +++ b/ipv6/shorewall6-lite/patches/130-portability.patch @@ -0,0 +1,20 @@ +--- a/install.sh ++++ b/install.sh +@@ -337,13 +337,15 @@ cd manpages + + for f in *.5; do + gzip -c $f > $f.gz +- run_install -D -m 644 $f.gz ${PREFIX}/usr/share/man/man5/$f.gz ++ run_install -d ${PREFIX}/usr/share/man/man5 ++ run_install -m 644 $f.gz ${PREFIX}/usr/share/man/man5/$f.gz + echo "Man page $f.gz installed to ${PREFIX}/usr/share/man/man5/$f.gz" + done + + for f in *.8; do + gzip -c $f > $f.gz +- run_install -D -m 644 $f.gz ${PREFIX}/usr/share/man/man8/$f.gz ++ run_install -d ${PREFIX}/usr/share/man/man8 ++ run_install -m 644 $f.gz ${PREFIX}/usr/share/man/man8/$f.gz + echo "Man page $f.gz installed to ${PREFIX}/usr/share/man/man8/$f.gz" + done +