summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1997-10-24 15:56:57 +0000
committeragc <agc@pkgsrc.org>1997-10-24 15:56:57 +0000
commitfefee310358797dec804a24d1268f69b9bca98fd (patch)
tree315946d96d1984557bd6417e3791e46f31bedac8
parent69dd3749647c2e985496bdba4d571f210914e64b (diff)
downloadpkgsrc-fefee310358797dec804a24d1268f69b9bca98fd.tar.gz
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.
-rw-r--r--shells/tcsh/patches/patch-af2
-rw-r--r--shells/tcsh/patches/patch-ag11
2 files changed, 12 insertions, 1 deletions
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 <nl_types.h>, 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}