pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
plan9port: small fix for SUNPro.
Module Name: pkgsrc-wip
Committed By: Paolo Vincenzo Olivo <vms%retrobsd.ddns.net@localhost>
Pushed By: vms
Date: Tue Nov 22 22:04:16 2022 +0100
Changeset: 759845c54f5f4eb1437e5295bda812784db52bc9
Modified Files:
plan9port/files/plan9.sh
plan9port/patches/patch-bin_9c
Log Message:
plan9port: small fix for SUNPro.
Fixed typo in compiler flags for Solaris Studio producing very noisy
warnings. Also simplified and revised plan9 sample profile file.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=759845c54f5f4eb1437e5295bda812784db52bc9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
plan9port/files/plan9.sh | 41 ++++++++++++++++-------------------------
plan9port/patches/patch-bin_9c | 2 +-
2 files changed, 17 insertions(+), 26 deletions(-)
diffs:
diff --git a/plan9port/files/plan9.sh b/plan9port/files/plan9.sh
index a3336919ec..b0bcf70d62 100644
--- a/plan9port/files/plan9.sh
+++ b/plan9port/files/plan9.sh
@@ -1,39 +1,30 @@
#!/bin/sh
# Define plan9 environment.
-PLAN9=@PREFIX@/plan9
-PATH="$PATH:$PLAN9/bin"
+export PLAN9=@PREFIX@/plan9
+export PATH="$PATH:$PLAN9/bin"
-home=$HOME
-user=$USER
+# For the standard user.
+export home=$HOME
+export user=$USER
# Set rc(1) prompt.
-H=`hostname | sed 's/\..*//'`
-prompt="$H-; "
+export H=`hostname | sed 's/\..*//'`
+export prompt="$H-; "
-# get rid of ANSI color codes.
-#TERM=dumb
+# Get rid of ANSI color codes.
+# export TERM=vt100
+# export TERM=dumb
# Default font for Plan 9 programs.
-#font=${PLAN9}/font/lucm/unicode.9.font
-font=${PLAN9}/font/pelm/unicode.8.font
+# export font=${PLAN9}/font/lucsans/typeunicode.7.font
+# export font=${PLAN9}/font/lucm/unicode.9.font
+export font=${PLAN9}/font/pelm/unicode.8.font
# Preferred plan9 editor.
-editor=acme
+# export editor=sam
+export editor=acme
# Sane text paging.
-#MANPAGER='9 p'
+export MANPAGER='9 p'
#PAGER='col -b'
-
-export \
-H\
-MANPAGER\
-PAGER\
-PATH\
-PLAN9\
-TERM\
-editor\
-font\
-home\
-prompt\
-user\
diff --git a/plan9port/patches/patch-bin_9c b/plan9port/patches/patch-bin_9c
index 9e02a34942..07ebf8d834 100644
--- a/plan9port/patches/patch-bin_9c
+++ b/plan9port/patches/patch-bin_9c
@@ -47,7 +47,7 @@ Let pkgsrc define its own compiler.
+ -xCC \
+ -fast \
+ -errfmt \
-+ -erroff=none \
++ -erroff=%none \
+ "
+}
+
Home |
Main Index |
Thread Index |
Old Index