mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Test ICONV_LIB instead of being dependant on an OSVERSION
Submitted by: tijl
This commit is contained in:
parent
6688e51c3f
commit
1e29832872
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358233
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user