diff options
author | sergei <sergei@FreeBSD.org> | 2006-05-02 17:03:06 +0800 |
---|---|---|
committer | sergei <sergei@FreeBSD.org> | 2006-05-02 17:03:06 +0800 |
commit | 109d33c47e2ffe45f82c2bf9d5a11b5086b66921 (patch) | |
tree | e1838c3643ed6eba5be0c3978973f48c402238cf /shells | |
parent | 9e08eb81476e4e5b7e682bdbd8e61b1fd5662e88 (diff) | |
download | freebsd-ports-gnome-109d33c47e2ffe45f82c2bf9d5a11b5086b66921.tar.gz freebsd-ports-gnome-109d33c47e2ffe45f82c2bf9d5a11b5086b66921.tar.zst freebsd-ports-gnome-109d33c47e2ffe45f82c2bf9d5a11b5086b66921.zip |
- 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)
Diffstat (limited to 'shells')
-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 |