summaryrefslogtreecommitdiff
path: root/shells
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
commit9c8273964a728134ac10a6f872169de49ba82025 (patch)
treef476b7417c7822e64f1a858e150b4665aa7edbda /shells
parent7580e8706e85f890b883b9f3c4edc72cae6ce87b (diff)
downloadpkgsrc-9c8273964a728134ac10a6f872169de49ba82025.tar.gz
Add multibyte option to allow to disable multibyte support explicitly.
Diffstat (limited to 'shells')
-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