summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorfrueauf <frueauf>1998-01-27 12:34:09 +0000
committerfrueauf <frueauf>1998-01-27 12:34:09 +0000
commit1486206f5ec87beb9162eeacb5da747ffaabec72 (patch)
tree3e7360b81dedcf0fecd663704ab48502eae25451 /editors
parent22988cca19a5b7e9757f84882596b42eedb776e4 (diff)
downloadpkgsrc-1486206f5ec87beb9162eeacb5da747ffaabec72.tar.gz
This patches lib-src/send-pr (installed as xemacs-send-pr) to
set the DATADIR and MAIL_AGENT properly. Inspired by Mathias Scheler.
Diffstat (limited to 'editors')
-rw-r--r--editors/xemacs20/patches/patch-ab20
1 files changed, 20 insertions, 0 deletions
diff --git a/editors/xemacs20/patches/patch-ab b/editors/xemacs20/patches/patch-ab
new file mode 100644
index 00000000000..84037460d1f
--- /dev/null
+++ b/editors/xemacs20/patches/patch-ab
@@ -0,0 +1,20 @@
+--- ./lib-src/send-pr-orig Thu Jan 22 14:54:07 1998
++++ ./lib-src/send-pr Thu Jan 22 15:09:10 1998
+@@ -35,7 +35,7 @@
+
+ # Where the gnats category tree lives.
+ [ -z "$DATADIR" ] &&
+-DATADIR=/usr/share
++DATADIR=`/usr/bin/dirname $0`/../lib/xemacs-20.3/etc
+
+ # If we've been moved around, try using GCC_EXEC_PREFIX.
+ [ ! -d $DATADIR/gnats -a -d "$GCC_EXEC_PREFIX" ] &&
+@@ -56,7 +56,7 @@
+
+ # What mailer to use. This must come after the config file, since it is
+ # host-dependent.
+-MAIL_AGENT="/usr/lib/sendmail -oi -t"
++MAIL_AGENT="/usr/sbin/sendmail -oi -t"
+
+ # How to read the passwd database.
+ PASSWD="cat /etc/passwd"