shorewall-lite: fix compile on non-GNU systems
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18738 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
382031c5c2
commit
193b58f1b9
20
net/shorewall-lite/patches/120-portability.patch
Normal file
20
net/shorewall-lite/patches/120-portability.patch
Normal file
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user