summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bmake/.footprint90
-rw-r--r--bmake/.signature7
-rw-r--r--bmake/Pkgfile31
-rw-r--r--bmake/simon.patch12
-rw-r--r--bmake/u-t-makefile.patch11
5 files changed, 151 insertions, 0 deletions
diff --git a/bmake/.footprint b/bmake/.footprint
new file mode 100644
index 000000000..678a14d73
--- /dev/null
+++ b/bmake/.footprint
@@ -0,0 +1,90 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-r-xr-xr-x root/root usr/bin/bmake
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/bmake.1.gz
+drwxr-xr-x root/root usr/share/mk/
+-rw-r--r-- root/root usr/share/mk/auto.dep.mk
+-rw-r--r-- root/root usr/share/mk/auto.obj.mk
+-rw-r--r-- root/root usr/share/mk/autoconf.mk
+-rw-r--r-- root/root usr/share/mk/autodep.mk
+lrwxrwxrwx root/root usr/share/mk/bsd.dep.mk -> dep.mk
+lrwxrwxrwx root/root usr/share/mk/bsd.doc.mk -> doc.mk
+lrwxrwxrwx root/root usr/share/mk/bsd.files.mk -> files.mk
+lrwxrwxrwx root/root usr/share/mk/bsd.inc.mk -> inc.mk
+lrwxrwxrwx root/root usr/share/mk/bsd.init.mk -> init.mk
+lrwxrwxrwx root/root usr/share/mk/bsd.lib.mk -> lib.mk
+lrwxrwxrwx root/root usr/share/mk/bsd.links.mk -> links.mk
+lrwxrwxrwx root/root usr/share/mk/bsd.man.mk -> man.mk
+lrwxrwxrwx root/root usr/share/mk/bsd.nls.mk -> nls.mk
+lrwxrwxrwx root/root usr/share/mk/bsd.obj.mk -> obj.mk
+lrwxrwxrwx root/root usr/share/mk/bsd.own.mk -> own.mk
+lrwxrwxrwx root/root usr/share/mk/bsd.prog.mk -> prog.mk
+lrwxrwxrwx root/root usr/share/mk/bsd.subdir.mk -> subdir.mk
+-rw-r--r-- root/root usr/share/mk/compiler.mk
+-rw-r--r-- root/root usr/share/mk/cython.mk
+-rw-r--r-- root/root usr/share/mk/dep.mk
+-rw-r--r-- root/root usr/share/mk/dirdeps-cache-update.mk
+-rw-r--r-- root/root usr/share/mk/dirdeps-options.mk
+-rw-r--r-- root/root usr/share/mk/dirdeps-targets.mk
+-rw-r--r-- root/root usr/share/mk/dirdeps.mk
+-rw-r--r-- root/root usr/share/mk/doc.mk
+-rw-r--r-- root/root usr/share/mk/dpadd.mk
+-rw-r--r-- root/root usr/share/mk/files.mk
+-rw-r--r-- root/root usr/share/mk/final.mk
+-rw-r--r-- root/root usr/share/mk/gendirdeps.mk
+-rw-r--r-- root/root usr/share/mk/host-target.mk
+-rw-r--r-- root/root usr/share/mk/host.libnames.mk
+-rw-r--r-- root/root usr/share/mk/inc.mk
+-rw-r--r-- root/root usr/share/mk/init.mk
+-rw-r--r-- root/root usr/share/mk/install-new.mk
+-rw-r--r-- root/root usr/share/mk/java.mk
+-rw-r--r-- root/root usr/share/mk/ldorder.mk
+-rw-r--r-- root/root usr/share/mk/lib.mk
+-rw-r--r-- root/root usr/share/mk/libnames.mk
+-rw-r--r-- root/root usr/share/mk/libs.mk
+-rw-r--r-- root/root usr/share/mk/links.mk
+-rw-r--r-- root/root usr/share/mk/man.mk
+-rw-r--r-- root/root usr/share/mk/manifest.mk
+-rw-r--r-- root/root usr/share/mk/meta.autodep.mk
+-rw-r--r-- root/root usr/share/mk/meta.stage.mk
+-rw-r--r-- root/root usr/share/mk/meta.subdir.mk
+-rw-r--r-- root/root usr/share/mk/meta.sys.mk
+-r-xr-xr-x root/root usr/share/mk/meta2deps.py
+-r-xr-xr-x root/root usr/share/mk/meta2deps.sh
+-r-xr-xr-x root/root usr/share/mk/mkopt.sh
+-rw-r--r-- root/root usr/share/mk/nls.mk
+-rw-r--r-- root/root usr/share/mk/obj.mk
+-rw-r--r-- root/root usr/share/mk/options.mk
+-rw-r--r-- root/root usr/share/mk/own.mk
+-rw-r--r-- root/root usr/share/mk/prlist.mk
+-rw-r--r-- root/root usr/share/mk/prog.mk
+-rw-r--r-- root/root usr/share/mk/progs.mk
+-rw-r--r-- root/root usr/share/mk/rst2htm.mk
+-rw-r--r-- root/root usr/share/mk/scripts.mk
+-rw-r--r-- root/root usr/share/mk/srctop.mk
+-r-xr-xr-x root/root usr/share/mk/stage-install.sh
+-rw-r--r-- root/root usr/share/mk/subdir.mk
+-rw-r--r-- root/root usr/share/mk/sys.clean-env.mk
+-rw-r--r-- root/root usr/share/mk/sys.debug.mk
+-rw-r--r-- root/root usr/share/mk/sys.dependfile.mk
+-rw-r--r-- root/root usr/share/mk/sys.mk
+-rw-r--r-- root/root usr/share/mk/sys.vars.mk
+drwxr-xr-x root/root usr/share/mk/sys/
+-rw-r--r-- root/root usr/share/mk/sys/AIX.mk
+-rw-r--r-- root/root usr/share/mk/sys/Darwin.mk
+-rw-r--r-- root/root usr/share/mk/sys/Generic.mk
+-rw-r--r-- root/root usr/share/mk/sys/HP-UX.mk
+-rw-r--r-- root/root usr/share/mk/sys/IRIX.mk
+-rw-r--r-- root/root usr/share/mk/sys/Linux.mk
+-rw-r--r-- root/root usr/share/mk/sys/NetBSD.mk
+-rw-r--r-- root/root usr/share/mk/sys/OSF1.mk
+-rw-r--r-- root/root usr/share/mk/sys/OpenBSD.mk
+-rw-r--r-- root/root usr/share/mk/sys/SunOS.mk
+-rw-r--r-- root/root usr/share/mk/sys/UnixWare.mk
+-rw-r--r-- root/root usr/share/mk/target-flags.mk
+-rw-r--r-- root/root usr/share/mk/warnings.mk
+-rw-r--r-- root/root usr/share/mk/whats.mk
+-rw-r--r-- root/root usr/share/mk/yacc.mk
diff --git a/bmake/.signature b/bmake/.signature
new file mode 100644
index 000000000..1c2cedf4a
--- /dev/null
+++ b/bmake/.signature
@@ -0,0 +1,7 @@
+untrusted comment: verify with /etc/ports/stenur.pub
+RWQEMWjN1NA431HOudiSny5DjrSb7+deZRDiTW8yw8WrJd9gcoLYEAPt6memBCEzxHYg7/VWmsCKr3hlaijwYM6m/4Zu2FPs/ws=
+SHA256 (Pkgfile) = 25f29486032c3a522ffbbd5dace4466ea71e4c08d2e33c2d98883c566ceb9446
+SHA256 (.footprint) = 2d6e83e9f38f0ca1ab19a1e945a247fee040d11f75aa324bb4fc21222a9f1f2e
+SHA256 (bmake-20201212.tar.gz) = 7027e8533f1313cdbf17a9806256068cb6286440e76e0518d77d96aa062bf242
+SHA256 (u-t-makefile.patch) = 5a504adb00ca5966a17d5046f257773591d0e1cc4d1fb2ff62130cdec5ccc10f
+SHA256 (simon.patch) = 13adb9f7b390d001bb656f2cc7e2b49e2dc7ae29bcb5ba0f347f4aac5b5c4615
diff --git a/bmake/Pkgfile b/bmake/Pkgfile
new file mode 100644
index 000000000..5d91ffcb1
--- /dev/null
+++ b/bmake/Pkgfile
@@ -0,0 +1,31 @@
+# Description: NetBSD make program
+# URL: http://www.crufty.net/help/sjg/bmake.html
+# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
+
+name=bmake
+version=20201212
+release=2
+source=(http://www.crufty.net/ftp/pub/sjg/$name-$version.tar.gz
+ u-t-makefile.patch simon.patch)
+
+build() {
+ cd $name
+
+ patch -p0 < ../u-t-makefile.patch
+ patch -p1 < ../simon.patch
+
+ mkdir -p build
+ cd build
+
+ sh ../boot-strap --with-default-sys-path=/usr/share/mk
+ sh ../boot-strap --prefix=/usr \
+ --with-mksrc=/usr/share/mk \
+ --install-destdir="$PKG" op=install
+
+ chmod g-w "$PKG"/usr/bin "$PKG"/usr/share/mk
+ rm -rf "$PKG"/usr/share/man/cat1
+ mkdir "$PKG"/usr/share/man/man1
+ cp ../bmake.1 "$PKG"/usr/share/man/man1/
+}
+
+# s-sh-mode
diff --git a/bmake/simon.patch b/bmake/simon.patch
new file mode 100644
index 000000000..b0211dfc9
--- /dev/null
+++ b/bmake/simon.patch
@@ -0,0 +1,12 @@
+diff -Napru bmake.orig/mk/sys.mk bmake/mk/sys.mk
+--- bmake.orig/mk/sys.mk 2020-08-19 19:52:06.000000000 +0200
++++ bmake/mk/sys.mk 2020-12-22 20:24:45.701882157 +0100
+@@ -119,7 +119,7 @@ unix ?= We run ${_HOST_OSNAME}.
+
+ # We need a Bourne/POSIX shell
+ MAKE_SHELL ?= sh
+-SHELL ?= ${MAKE_SHELL}
++SHELL := ${.SHELL}
+
+ # A race condition in mkdir, means that it can bail if another
+ # process made a dir that mkdir expected to.
diff --git a/bmake/u-t-makefile.patch b/bmake/u-t-makefile.patch
new file mode 100644
index 000000000..97a38125d
--- /dev/null
+++ b/bmake/u-t-makefile.patch
@@ -0,0 +1,11 @@
+--- unit-tests/Makefile.orig 2020-12-12 18:13:04.481056900 +0100
++++ unit-tests/Makefile 2020-12-12 18:13:17.154389991 +0100
+@@ -39,7 +39,7 @@
+ TESTS+= cmd-errors
+ TESTS+= cmd-errors-lint
+ TESTS+= cmd-interrupt
+-TESTS+= cmdline
++#TESTS+= cmdline
+ TESTS+= cmdline-undefined
+ TESTS+= comment
+ TESTS+= cond-cmp-numeric

Generated by cgit