From 08ae26531800cb32f09cd150400498923a4026eb Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Sat, 6 Apr 2019 19:12:12 +0200 Subject: [PATCH] bmake, fix recipe (#3733) --- ...ake-20180919.recipe => bmake-20181221.recipe} | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) rename sys-devel/bmake/{bmake-20180919.recipe => bmake-20181221.recipe} (73%) diff --git a/sys-devel/bmake/bmake-20180919.recipe b/sys-devel/bmake/bmake-20181221.recipe similarity index 73% rename from sys-devel/bmake/bmake-20180919.recipe rename to sys-devel/bmake/bmake-20181221.recipe index 6389b0ebd..630ac8325 100644 --- a/sys-devel/bmake/bmake-20180919.recipe +++ b/sys-devel/bmake/bmake-20181221.recipe @@ -12,7 +12,7 @@ COPYRIGHT="1990-2018 NetBSD and sjg" LICENSE="BSD (3-clause)" REVISION="1" SOURCE_URI="http://www.crufty.net/ftp/pub/sjg/bmake-$portVersion.tar.gz" -CHECKSUM_SHA256="b0dd038583fe4a627f52f109887b71d365d8c51ec87f0e3fcb3ab6a9124eccee" +CHECKSUM_SHA256="fc0948b4eb0cf21fcec4f89660c0295150c55bf070d4b7445858947f84f7e67e" SOURCE_DIR="bmake" ARCHITECTURES="x86_gcc2 x86 x86_64" @@ -29,9 +29,12 @@ BUILD_REQUIRES=" haiku_devel " BUILD_PREREQUIRES=" + cmd:aclocal + cmd:autoreconf cmd:awk cmd:diff cmd:gcc + cmd:libtoolize cmd:make cmd:sed " @@ -46,16 +49,23 @@ PATCH() BUILD() { + autoreconf -vfi runConfigure ./configure --with-default-sys-path="$dataDir"/mk make MANDIR="$manDir" } INSTALL() { - make install MANDIR="$manDir" ROOT_GROUP="`id -g -n`" + # The install process needs a root user, and there is no such thing in the + # chroot. + echo "root:x:0:" > /etc/group + useradd root || true # Don't fail if user already exists + + make install MANDIR="$manDir" } TEST() { - make test ROOT_GROUP="`id -g -n`" + # not sure if this is really needed, test are run in BUILD() + make test }