summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authoragc <agc>1997-10-24 15:56:57 +0000
committeragc <agc>1997-10-24 15:56:57 +0000
commite14cdd96cfcd19612727948976ff9fa6c92a92a7 (patch)
tree315946d96d1984557bd6417e3791e46f31bedac8 /shells
parentd5089c076456d42a344f8f0ee1c88a6d4bf5ac4b (diff)
downloadpkgsrc-e14cdd96cfcd19612727948976ff9fa6c92a92a7.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.
Diffstat (limited to 'shells')
-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}