Skip to content

Commit

Permalink
man-db: Fixed pager
Browse files Browse the repository at this point in the history
  • Loading branch information
lundmar committed Nov 1, 2014
1 parent 0156788 commit a72ef6b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion man-db/Buildfile
Expand Up @@ -6,7 +6,7 @@ name=man-db
version=2.7.0.2
release=1
source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.xz)
depends=(libpipeline gdbm)
depends=(libpipeline gdbm zlib less)

build() {
cd $name-$version
Expand All @@ -15,12 +15,19 @@ build() {
--prefix=/usr \
--libdir=/usr/lib \
--libexecdir=/usr/lib/$name \
--sysconfdir=/etc \
--disable-setuid \
--with-db=gdbm \
--enable-mandirs=GNU \
--disable-nls
make -j $JOBS
make DESTDIR=$PKG install
# Configure man pager
install -d $PKG/etc/profile.d
echo 'export MANPAGER=less' > $PKG/etc/profile.d/man

# Cleanup
rm -r $PKG/usr/share/doc
rm -r $PKG/usr/lib/tmpfiles.d
Expand Down

0 comments on commit a72ef6b

Please sign in to comment.