netbsd-rumpkernel: make this build with glibc-2.20 and drop preformatted manpages.

This commit is contained in:
Juan RP 2014-09-23 18:01:50 +02:00
parent 023371d2da
commit 6ee183de55

View file

@ -1,7 +1,7 @@
# Template file for 'netbsd-rumpkernel'.
pkgname=netbsd-rumpkernel
version=20140317
revision=1
revision=2
wrksrc="buildrump-${version}"
short_desc="The NetBSD rump kernel"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -10,11 +10,16 @@ homepage="https://github.com/anttikantee/buildrump.sh"
distfiles="${SOURCEFORGE_SITE}/rumpkernel/buildrump-${version}.tar.xz"
checksum=0e198be8d93142523a3fb15ce70be9aead9ff2687d9582c8916d7590979509ed
do_configure() {
# Do not install preformatted manpages
sed -i '/MKCATPAGES/d' buildrump.sh
}
do_build() {
export CPPFLAGS=-Wno-error
./buildrump.sh ${makejobs} -r -V MKPICINSTALL=no -d ${DESTDIR}/usr tools
./buildrump.sh ${makejobs} -r -d ${DESTDIR}/usr build
}
do_install() {
./buildrump.sh -r -V MKPICINSTALL=no -d ${DESTDIR}/usr install
# Set proper perms to libs.