diff options
-rw-r--r-- | shells/tcsh/Makefile | 8 | ||||
-rw-r--r-- | shells/tcsh/files/patch-sum | 3 | ||||
-rw-r--r-- | shells/tcsh/patches/patch-ah | 18 |
3 files changed, 8 insertions, 21 deletions
diff --git a/shells/tcsh/Makefile b/shells/tcsh/Makefile index 64b5fc1b4e6..9adb03dabc4 100644 --- a/shells/tcsh/Makefile +++ b/shells/tcsh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 1999/08/16 23:01:21 kim Exp $ +# $NetBSD: Makefile,v 1.18 1999/08/17 16:00:02 agc Exp $ # DISTNAME= tcsh-6.09 @@ -19,6 +19,12 @@ INSTALL_TARGET= install install.man NLSDIR= share/nls PLIST_SRC= ${WRKDIR}/PLIST-src +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "SunOS" +LOWER_OPSYS= solaris2.6 +.endif + post-install: @${ECHO} "Installing message catalogues" @${INSTALL_DATA} ${WRKSRC}/tcsh.C.cat ${PREFIX}/${NLSDIR}/C/tcsh.cat diff --git a/shells/tcsh/files/patch-sum b/shells/tcsh/files/patch-sum index a08d8b9af25..3aad34ed330 100644 --- a/shells/tcsh/files/patch-sum +++ b/shells/tcsh/files/patch-sum @@ -1,5 +1,4 @@ -$NetBSD: patch-sum,v 1.2 1999/08/16 23:01:21 kim Exp $ +$NetBSD: patch-sum,v 1.3 1999/08/17 16:00:03 agc Exp $ MD5 (patch-af) = 61817622e3cae5af6b46065f416e9e37 MD5 (patch-ag) = 374a5eec127ef25ad42482e304f373d9 -MD5 (patch-ah) = 9490b8739fd89bbd3e6cbae5237923b3 diff --git a/shells/tcsh/patches/patch-ah b/shells/tcsh/patches/patch-ah deleted file mode 100644 index 59bd38e2f8c..00000000000 --- a/shells/tcsh/patches/patch-ah +++ /dev/null @@ -1,18 +0,0 @@ -$NetBSD: patch-ah,v 1.3 1999/07/08 12:48:42 agc Exp $ - -Solaris redefines rlimit to rlimit64, to catch the rlimit() call when -function names are re-defined. Unfortunately, it also does that after -defining "struct rlimit", and so we lose because it can't find the -structure. So we get to redefine it ourselves before <sys/resource.h> -is included. Thanks, guys. - ---- sh.h 1998/09/18 16:09:13 3.85 -+++ sh.h 1999/03/08 13:14:06 -@@ -224,6 +224,7 @@ - # include <sys/sysinfo.h> - # else - # define sysrusage rusage -+# define rlimit rlimit64 - # include <sys/resource.h> - # endif /* convex */ - # endif /* SYSVREL>3 */ |