From 3cab406b7309402b3243cb0da7f62aedb51d8e3c Mon Sep 17 00:00:00 2001 From: agc Date: Fri, 24 Oct 1997 15:56:57 +0000 Subject: Add NetBSD support for message catalogs. Add a patch to Makefile.in which substitutes for a hardcoded /usr/local the @prefix@ GNU autoconf variable, set by --prefix=blah in configure. --- shells/tcsh/patches/patch-af | 2 +- shells/tcsh/patches/patch-ag | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'shells') diff --git a/shells/tcsh/patches/patch-af b/shells/tcsh/patches/patch-af index 249e9dc2f6d..b451008f630 100644 --- a/shells/tcsh/patches/patch-af +++ b/shells/tcsh/patches/patch-af @@ -13,7 +13,7 @@ * if you don't have , you don't want * to define this. */ -! #if defined(__FreeBSD__) || defined(__OpenBSD__) +! #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) ! # define NLS_CATALOGS ! #else ! # undef NLS_CATALOGS diff --git a/shells/tcsh/patches/patch-ag b/shells/tcsh/patches/patch-ag index b03604b22b0..f21bec1813d 100644 --- a/shells/tcsh/patches/patch-ag +++ b/shells/tcsh/patches/patch-ag @@ -42,3 +42,14 @@ (void) catclose(catd); nlsinit(); # endif /* NLS_CATALOGS && LC_MESSAGES */ +--- Makefile.in 1997/10/24 15:41:23 1.1 ++++ Makefile.in 1997/10/24 15:41:34 +@@ -261,7 +261,7 @@ + PARALLEL=12 # Make the multi-max run fast. + #P=& # Use Sequent's parallel make + P= +-DESTDIR=/usr/local ++DESTDIR=@prefix@ + MANSECT=1 + DESTBIN=${DESTDIR}/bin + DESTMAN=${DESTDIR}/man/man${MANSECT} -- cgit v1.2.3