aboutsummaryrefslogtreecommitdiffstats
path: root/extra/man
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-03-05 20:34:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-03-05 20:34:41 +0000
commit5df043e1a07b7e753d83bd74b55c4f97376b48a2 (patch)
tree9408be3919d7a04e1379113ead905fa54df62524 /extra/man
parent8e6dbfb930d235a55e4e6e71010ef494494d0c14 (diff)
downloadaports-5df043e1a07b7e753d83bd74b55c4f97376b48a2.tar.gz
aports-5df043e1a07b7e753d83bd74b55c4f97376b48a2.tar.bz2
aports-5df043e1a07b7e753d83bd74b55c4f97376b48a2.tar.xz
extra/man: fix for busybox less
busybox less does not support -i nor -s
Diffstat (limited to 'extra/man')
-rw-r--r--extra/man/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/extra/man/APKBUILD b/extra/man/APKBUILD
index 1363e3cbc3..c6940dbf3b 100644
--- a/extra/man/APKBUILD
+++ b/extra/man/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=man
pkgver=1.6f
-pkgrel=0
+pkgrel=1
pkgdesc="A utility for reading man pages"
url="http://primates.ximian.com/~flucifredi/man/"
license="GPL"
@@ -24,7 +24,9 @@ build () {
make || return 1
make PREFIX="$pkgdir" install || return 1
- sed -i "s|-Tlatin1||g" "$pkgdir"/etc/man.conf
+ sed -i -e "s|-Tlatin1||g" \
+ -e "s|less -is|less|g" \
+ "$pkgdir"/etc/man.conf
install -D -m744 ../whatis.periodic.daily \
"$pkgdir"/etc/periodic/daily/whatis
}