diff options
author | christos <christos@pkgsrc.org> | 2007-04-10 00:50:24 +0000 |
---|---|---|
committer | christos <christos@pkgsrc.org> | 2007-04-10 00:50:24 +0000 |
commit | d523ab9acdb64f9483e48067e24535e6a8ab65db (patch) | |
tree | 240877d8bda7feb64dc1e8add855094e59966144 /shells | |
parent | aaebbf496583673b8e37939ea0ba84a9597662eb (diff) | |
download | pkgsrc-d523ab9acdb64f9483e48067e24535e6a8ab65db.tar.gz |
add new files
Diffstat (limited to 'shells')
-rw-r--r-- | shells/tcsh/patches/patches-aa | 24 | ||||
-rw-r--r-- | shells/tcsh/patches/patches-ab | 24 |
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 |