summaryrefslogtreecommitdiff
path: root/shells/bash
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-10-23 08:16:26 +0000
committerminskim <minskim@pkgsrc.org>2004-10-23 08:16:26 +0000
commit4222c0193a1af1a5b88a43cdbc5fae9ccca4f218 (patch)
treef476b7417c7822e64f1a858e150b4665aa7edbda /shells/bash
parente61ca19e0a6b524e2780b514665f949f6ab244bd (diff)
downloadpkgsrc-4222c0193a1af1a5b88a43cdbc5fae9ccca4f218.tar.gz
Add multibyte option to allow to disable multibyte support explicitly.
Diffstat (limited to 'shells/bash')
-rw-r--r--shells/bash/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/shells/bash/Makefile b/shells/bash/Makefile
index d29a5d06e1d..ec24b7f5492 100644
--- a/shells/bash/Makefile
+++ b/shells/bash/Makefile
@@ -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 @@ PKG_DEFAULT_OPTIONS+= static
.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 @@ PKG_SUPPORTED_OPTIONS= static
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