aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/glib20/Makefile2
-rw-r--r--sysutils/e2fsprogs/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile
index 8c1748d3db6b..e8c1293ab931 100644
--- a/devel/glib20/Makefile
+++ b/devel/glib20/Makefile
@@ -53,7 +53,7 @@ CONFIGURE_ARGS+=--disable-dtrace
#CONFIGURE_ARGS+=--enable-dtrace
#.endif
-.if exists(/usr/include/iconv.h) && ${OSVERSION} >= 1000043
+.if empty(ICONV_LIB)
CONFIGURE_ARGS+= --with-libiconv=native
.else
CONFIGURE_ARGS+= --with-libiconv=gnu
diff --git a/sysutils/e2fsprogs/Makefile b/sysutils/e2fsprogs/Makefile
index 9775b67db89e..ea4bb56c585f 100644
--- a/sysutils/e2fsprogs/Makefile
+++ b/sysutils/e2fsprogs/Makefile
@@ -54,7 +54,7 @@ MAKE_ARGS+= V=1
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB= NLS=""
-. if ${OSVERSION} >= 1000043
+. if empty(ICONV_LIB)
libintl= "${LOCALBASE}/lib/libintl.a"
. else
libintl= "${LOCALBASE}/lib/libintl.a ${LOCALBASE}/lib/libiconv.a"