aboutsummaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-02-10 13:16:50 +0300
committerCem Keylan <cem@ckyln.com>2020-02-10 13:16:50 +0300
commitc8f0f9c8647c4da43bd9d3d43ddfc09edee95d89 (patch)
treef6c2a427056fa77ea930c8b520b89fd455ef3cd6 /community
parentf8414ac2b5ef5120417d6f3f945f7059cdddabeb (diff)
downloadrepository-c8f0f9c8647c4da43bd9d3d43ddfc09edee95d89.tar.gz
9base: install to /usr instead of /usr/local/plan9
Diffstat (limited to 'community')
-rw-r--r--community/9base/checksums1
-rw-r--r--community/9base/files/config.mk25
-rwxr-xr-xcommunity/9base/post-install11
-rw-r--r--community/9base/sources1
-rw-r--r--community/9base/version2
5 files changed, 28 insertions, 12 deletions
diff --git a/community/9base/checksums b/community/9base/checksums
index 6e271b56..b5ee683a 100644
--- 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
new file mode 100644
index 00000000..5e7516cd
--- /dev/null
+++ 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
deleted file mode 100755
index 45430efb..00000000
--- a/community/9base/post-install
+++ /dev/null
@@ -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
index fa0a32f4..39f84435 100644
--- 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
index 71aaf78c..2568e8fa 100644
--- a/community/9base/version
+++ b/community/9base/version
@@ -1 +1 @@
-20190911 1
+20190911 2