commit c8f0f9c8647c4da43bd9d3d43ddfc09edee95d89
parent f8414ac2b5ef5120417d6f3f945f7059cdddabeb
Author: Cem Keylan <cem@ckyln.com>
Date: Mon, 10 Feb 2020 13:16:50 +0300
9base: install to /usr instead of /usr/local/plan9
Diffstat:
5 files changed, 28 insertions(+), 12 deletions(-)
diff --git a/community/9base/checksums b/community/9base/checksums
@@ -1 +1,2 @@
9cddb8c7aa4e32c50c6b44a299e45b76b45bb3f1094efef7804354ce2a7fcd13 9base-20190911.tar.gz
+be5cd0dd5dc2ea8fb59461d8c681eb6a4555f367f7277e11f6e95164f8a28890 config.mk
diff --git a/community/9base/files/config.mk b/community/9base/files/config.mk
@@ -0,0 +1,25 @@
+# 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
@@ -1,11 +0,0 @@
-#!/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
@@ -1 +1,2 @@
https://dl.carbslinux.org/distfiles/9base-20190911.tar.gz
+files/config.mk
diff --git a/community/9base/version b/community/9base/version
@@ -1 +1 @@
-20190911 1
+20190911 2