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
commit3cab406b7309402b3243cb0da7f62aedb51d8e3c (patch)
tree315946d96d1984557bd6417e3791e46f31bedac8 /shells
parent1f57eb8e5f27799ca3bae8e0d85f0a6841e10c98 (diff)
downloadpkgsrc-3cab406b7309402b3243cb0da7f62aedb51d8e3c.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}