pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/shells/bash Add multibyte option to allow to disable m...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e80c9e7ab60e
branches: trunk
changeset: 482244:e80c9e7ab60e
user: minskim <minskim%pkgsrc.org@localhost>
date: Sat Oct 23 08:16:26 2004 +0000
description:
Add multibyte option to allow to disable multibyte support explicitly.
diffstat:
shells/bash/Makefile | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diffs (35 lines):
diff -r 5081e0ff74de -r e80c9e7ab60e shells/bash/Makefile
--- a/shells/bash/Makefile Sat Oct 23 08:10:40 2004 +0000
+++ b/shells/bash/Makefile Sat Oct 23 08:16:26 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/10/23 07:48:03 minskim Exp $
+# $NetBSD: Makefile,v 1.5 2004/10/23 08:16:26 minskim Exp $
#
DISTNAME= bash-3.0
@@ -49,7 +49,10 @@
.endif
PKG_OPTIONS_VAR= PKG_OPTIONS.bash
-PKG_SUPPORTED_OPTIONS= static
+PKG_SUPPORTED_OPTIONS= multibyte static
+.if !defined(PKG_OPTIONS.bash)
+PKG_DEFAULT_OPTIONS+= multibyte
+.endif
.include "../../mk/bsd.options.mk"
##
@@ -59,6 +62,13 @@
CONFIGURE_ARGS+= --enable-static-link
.endif
+##
+## Multibyte support
+##
+.if empty(PKG_OPTIONS:Mmultibyte)
+CONFIGURE_ENV+= ac_cv_type_wctype_t=no
+.endif
+
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/bash.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/bashbug.1 ${PREFIX}/man/man1
Home |
Main Index |
Thread Index |
Old Index