diff options
Diffstat (limited to 'community')
-rwxr-xr-x | community/9base/build | 4 | ||||
-rw-r--r-- | community/9base/checksums | 1 | ||||
-rw-r--r-- | community/9base/files/config.mk | 25 | ||||
-rwxr-xr-x | community/9base/post-install | 11 | ||||
-rw-r--r-- | community/9base/sources | 1 | ||||
-rw-r--r-- | community/9base/version | 2 |
6 files changed, 16 insertions, 28 deletions
diff --git a/community/9base/build b/community/9base/build index 7de21eed..cdc80175 100755 --- a/community/9base/build +++ b/community/9base/build @@ -2,3 +2,7 @@ make make DESTDIR="$1" install + +mkdir -p "$1/usr/bin" +ln -s /usr/local/plan9/bin/mk "$1/usr/bin/mk" +ln -s /usr/local/plan9/bin/rc "$1/usr/bin/rc" diff --git a/community/9base/checksums b/community/9base/checksums index b5ee683a..6e271b56 100644 --- a/community/9base/checksums +++ b/community/9base/checksums @@ -1,2 +1 @@ 9cddb8c7aa4e32c50c6b44a299e45b76b45bb3f1094efef7804354ce2a7fcd13 9base-20190911.tar.gz -be5cd0dd5dc2ea8fb59461d8c681eb6a4555f367f7277e11f6e95164f8a28890 config.mk diff --git a/community/9base/files/config.mk b/community/9base/files/config.mk deleted file mode 100644 index 5e7516cd..00000000 --- a/community/9base/files/config.mk +++ /dev/null @@ -1,25 +0,0 @@ -# Customize to fit your system - -# paths -PREFIX = /usr -MANPREFIX = ${PREFIX}/share/man - -VERSION = 7 -OBJTYPE = x86_64 -#OBJTYPE = arm -#OBJTYPE = x86_64 -#OBJTYPE = sun4u - -# Linux/BSD -#CFLAGS += -Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -c -I. -DPREFIX="\"${PREFIX}\"" -CFLAGS += -c -I. -DPLAN9PORT -DPREFIX="\"${PREFIX}\"" -LDFLAGS += -static - -# Solaris -#CFLAGS = -fast -xtarget=ultra -D__sun__ -c -I. -DPREFIX="\"${PREFIX}\"" -#LDFLAGS = -dn - -# compiler -AR = ar rc -CC = cc -YACC = ../yacc/9yacc diff --git a/community/9base/post-install b/community/9base/post-install new file mode 100755 index 00000000..45430efb --- /dev/null +++ b/community/9base/post-install @@ -0,0 +1,11 @@ +#!/bin/sh -e + +cat <<EOF + +-> NOTE: Plan9 programs are installed to +-> /usr/local/plan9/ to avoid conflicts with +-> system programs. If you want to be able to +-> use Plan9 programs, add /usr/local/plan9/bin +-> to your path. + +EOF diff --git a/community/9base/sources b/community/9base/sources index 39f84435..fa0a32f4 100644 --- a/community/9base/sources +++ b/community/9base/sources @@ -1,2 +1 @@ https://dl.carbslinux.org/distfiles/9base-20190911.tar.gz -files/config.mk diff --git a/community/9base/version b/community/9base/version index 2568e8fa..71aaf78c 100644 --- a/community/9base/version +++ b/community/9base/version @@ -1 +1 @@ -20190911 2 +20190911 1 |