diff options
author | Sergei Kolobov <sergei@FreeBSD.org> | 2006-05-02 09:03:06 +0000 |
---|---|---|
committer | Sergei Kolobov <sergei@FreeBSD.org> | 2006-05-02 09:03:06 +0000 |
commit | f6ea5c7be9867e086e97a7f7a77e2c2e8b58ad78 (patch) | |
tree | 5fd87211ba9a657328143c68717b9c6116678d32 /shells/zsh | |
parent | - Make spamd work with ipfw(4) [1] (diff) |
- Fix build under 4.x:
FreeBSD 4.x doesn't have wide character support,
so avoid adding --enable-multibyte to CONFIGURE_ARGS on FreeBSD 4.x
PR: ports/96645 [1]
Submitted by: Tod McQuillin <devin@spamcop.net> [1],
Hajimu UMEMOTO <ume@FreeBSD.org> (in private e-mail)
Notes
Notes:
svn path=/head/; revision=161171
Diffstat (limited to 'shells/zsh')
-rw-r--r-- | shells/zsh/Makefile | 8 |
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 |