From c8f0f9c8647c4da43bd9d3d43ddfc09edee95d89 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 10 Feb 2020 13:16:50 +0300 Subject: 9base: install to /usr instead of /usr/local/plan9 --- community/9base/checksums | 1 + community/9base/files/config.mk | 25 +++++++++++++++++++++++++ community/9base/post-install | 11 ----------- community/9base/sources | 1 + community/9base/version | 2 +- 5 files changed, 28 insertions(+), 12 deletions(-) create mode 100644 community/9base/files/config.mk delete mode 100755 community/9base/post-install (limited to 'community') 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 < 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 -- cgit v1.2.3