summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>2007-04-10 00:50:24 +0000
committerchristos <christos@pkgsrc.org>2007-04-10 00:50:24 +0000
commit214fdf7a2235fd10e5186d1e4efe0734251be281 (patch)
tree240877d8bda7feb64dc1e8add855094e59966144 /shells
parent33c150724b1ee97b5ae1e79bd286d22034abaa3a (diff)
downloadpkgsrc-214fdf7a2235fd10e5186d1e4efe0734251be281.tar.gz
add new files
Diffstat (limited to 'shells')
-rw-r--r--shells/tcsh/patches/patches-aa24
-rw-r--r--shells/tcsh/patches/patches-ab24
2 files changed, 48 insertions, 0 deletions
diff --git a/shells/tcsh/patches/patches-aa b/shells/tcsh/patches/patches-aa
new file mode 100644
index 00000000000..3561fdc1ab2
--- /dev/null
+++ b/shells/tcsh/patches/patches-aa
@@ -0,0 +1,24 @@
+$NetBSD: patches-aa,v 1.1 2007/04/10 00:50:24 christos Exp $
+
+--- Makefile.in.orig 2007-04-09 20:02:33.000000000 -0400
++++ Makefile.in 2007-04-09 20:04:47.000000000 -0400
+@@ -512,17 +512,10 @@
+ install-strip: install
+
+ install: tcsh$(EXEEXT)
+- -mkdir -p ${DESTBIN}
+- -mv -f ${DESTBIN}/tcsh$(EXEEXT) ${DESTBIN}/tcsh.old
+- cp tcsh$(EXEEXT) ${DESTBIN}/tcsh$(EXEEXT)
+- -strip ${DESTBIN}/tcsh$(EXEEXT)
+- chmod 755 ${DESTBIN}/tcsh$(EXEEXT)
++ ${BSD_INSTALL_PROGRAM} tcsh${EXEEXT} ${DESTBIN}/tcsh${EXEEXT}
+
+ install.man: tcsh.man
+- -mkdir -p ${DESTMAN}
+- -rm -f ${DESTMAN}/tcsh.${MANSECT}
+- cp $(srcdir)/tcsh.man ${DESTMAN}/tcsh.${MANSECT}
+- chmod 444 ${DESTMAN}/tcsh.${MANSECT}
++ ${BSD_INSTALL_MAN} tcsh.man ${DESTMAN}/tcsh.${MANSECT}
+
+ install.cygwin: install install.man
+ -mkdir -p ${DESTDIR}${prefix}/share/doc/tcsh
diff --git a/shells/tcsh/patches/patches-ab b/shells/tcsh/patches/patches-ab
new file mode 100644
index 00000000000..4fd3f31b59b
--- /dev/null
+++ b/shells/tcsh/patches/patches-ab
@@ -0,0 +1,24 @@
+$NetBSD: patches-ab,v 1.1 2007/04/10 00:50:24 christos Exp $
+
+--- config_f.h.orig 2006-08-28 10:53:04.000000000 -0400
++++ config_f.h 2007-04-09 20:02:34.000000000 -0400
+@@ -44,7 +44,18 @@
+ * of nls...
+ *
+ */
+-#define SHORT_STRINGS
++#if defined(__NetBSD__)
++# include <sys/param.h>
++# if defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 200000000)
++# define SHORT_STRINGS
++# else
++# undef SHORT_STRINGS
++# endif
++#elif defined(__OpenBSD__)
++# undef SHORT_STRINGS
++#else
++# define SHORT_STRINGS
++#endif
+
+ /*
+ * WIDE_STRINGS Represent strings using wide characters