diff options
author | bapt <bapt@FreeBSD.org> | 2014-06-18 16:37:30 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-06-18 16:37:30 +0800 |
commit | 150238245db875dd9c8484b543b08381d6c91ee7 (patch) | |
tree | cf18f80673f81e0e4cbec5c2543d53aaf36b8c66 /shells/zsh | |
parent | 18b2f4fe337b952beaddf51ceced265cfe1fc6b2 (diff) | |
download | freebsd-ports-gnome-150238245db875dd9c8484b543b08381d6c91ee7.tar.gz freebsd-ports-gnome-150238245db875dd9c8484b543b08381d6c91ee7.tar.zst freebsd-ports-gnome-150238245db875dd9c8484b543b08381d6c91ee7.zip |
Test ICONV_LIB instead of being dependant on an OSVERSION
Submitted by: tijl
Diffstat (limited to 'shells/zsh')
-rw-r--r-- | shells/zsh/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile index fa21a6c6134b..3e12303c65f4 100644 --- a/shells/zsh/Makefile +++ b/shells/zsh/Makefile @@ -64,9 +64,9 @@ STATIC_CONFIGURE_OFF= --enable-dynamic DEBUG_CONFIGURE_ENABLE= zsh-debug MULTIBYTE_CONFIGURE_ENABLE= multibyte -.include <bsd.port.options.mk> +.include <bsd.port.pre.mk> -.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1000000 +.if empty(ICONV_LIB) CONFIGURE_ENV+= ac_cv_lib_iconv_libiconv=no .endif @@ -129,6 +129,4 @@ post-install: regression-test: @cd ${WRKSRC}; ${SETENV} -i ${MAKE} check - - -.include <bsd.port.mk> +.include <bsd.port.post.mk> |