mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
bmake: move to dev-build
gentoo moved from sys-devel
This commit is contained in:
66
dev-build/bmake/bmake-20230723.recipe
Normal file
66
dev-build/bmake/bmake-20230723.recipe
Normal file
@@ -0,0 +1,66 @@
|
||||
SUMMARY="Portable version of NetBSD make"
|
||||
DESCRIPTION="Bmake is derived from NetBSD's make(1), its goal is to be a \
|
||||
portable version of same, so new features are added via imports of NetBSD's \
|
||||
make (I'm one of the contributors to NetBSD). Thus bmake is kept in sync with \
|
||||
NetBSD's make.
|
||||
|
||||
This version of Make features several extensions that are not in GNU Make, and \
|
||||
does not has all of GNU Make extensions. Some projects explicitly require one \
|
||||
or the other."
|
||||
HOMEPAGE="http://www.crufty.net/help/sjg/bmake.htm"
|
||||
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="c42a0d951ba23f7665331309fbbe21edc01136a23cb9416850b4315be5fb5904"
|
||||
SOURCE_DIR="bmake"
|
||||
PATCHES="bmake-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="all"
|
||||
|
||||
PROVIDES="
|
||||
bmake = $portVersion
|
||||
cmd:bmake = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoreconf
|
||||
cmd:awk
|
||||
cmd:diff
|
||||
cmd:gcc
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
# This seems to be the only way to nicely workaround a "Force these"
|
||||
sed -i \
|
||||
-e "/^SHAREDIR=/ s|/share|/$relativeDataDir|;" \
|
||||
Makefile
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -vfi
|
||||
runConfigure ./configure --with-default-sys-path="$dataDir"/mk
|
||||
make MANDIR="$manDir"
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
# 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"
|
||||
}
|
||||
22
dev-build/bmake/patches/bmake-20230723.patchset
Normal file
22
dev-build/bmake/patches/bmake-20230723.patchset
Normal file
@@ -0,0 +1,22 @@
|
||||
From 55e9a59c67356fe056b2bbbacb74daba2bf23c4c Mon Sep 17 00:00:00 2001
|
||||
From: Begasus <begasus@gmail.com>
|
||||
Date: Fri, 1 Sep 2023 19:37:32 +0200
|
||||
Subject: Disable failing test
|
||||
|
||||
|
||||
diff --git a/unit-tests/Makefile b/unit-tests/Makefile
|
||||
index 8a867cb..06103c2 100644
|
||||
--- a/unit-tests/Makefile
|
||||
+++ b/unit-tests/Makefile
|
||||
@@ -270,7 +270,7 @@ TESTS+= opt-jobs
|
||||
TESTS+= opt-jobs-internal
|
||||
TESTS+= opt-jobs-no-action
|
||||
TESTS+= opt-keep-going
|
||||
-TESTS+= opt-keep-going-indirect
|
||||
+#TESTS+= opt-keep-going-indirect
|
||||
TESTS+= opt-keep-going-multiple
|
||||
TESTS+= opt-m-include-dir
|
||||
TESTS+= opt-no-action
|
||||
--
|
||||
2.37.3
|
||||
|
||||
Reference in New Issue
Block a user