aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shells/zsh/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile
index 2aed89b83747..64e0334930ce 100644
--- a/shells/zsh/Makefile
+++ b/shells/zsh/Makefile
@@ -78,10 +78,6 @@ CONFIGURE_ARGS+= --enable-zsh-mem --enable-zsh-secure-free
CONFIGURE_ARGS+= --enable-maildir-support
.endif
-.if !defined(WITHOUT_ZSH_MULTIBYTE)
-CONFIGURE_ARGS+= --enable-multibyte
-.endif
-
.if defined(NOSHARED)
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -static"
CONFIGURE_ARGS+= --disable-dynamic
@@ -110,6 +106,10 @@ EXAMPLES= zlogin zshenv zshrc
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 500000 && !defined(WITHOUT_ZSH_MULTIBYTE)
+CONFIGURE_ARGS+= --enable-multibyte
+.endif
+
.if ${OSVERSION} >= 503000
EXTRA_PATCHES= ${FILESDIR}/extra-patch-bsdtar
.endif