aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/ldconfig_compat/bsd.ldconfig.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/ldconfig_compat/bsd.ldconfig.mk b/misc/ldconfig_compat/bsd.ldconfig.mk
index babd1494ad02..cabeca789e06 100644
--- a/misc/ldconfig_compat/bsd.ldconfig.mk
+++ b/misc/ldconfig_compat/bsd.ldconfig.mk
@@ -2,7 +2,9 @@ LDCONFIG_DIR= libdata/ldconfig
LDCONFIG32_DIR= libdata/ldconfig32
.if defined(USE_LDCONFIG) || defined(USE_LDCONFIG32)
-.if (${OSVERSION} < 700012)
+.if ${OSVERSION} < 504105 ||
+ (${OSVERSION} >= 700000 && ${OSVERSION} < 700012) ||
+ (${OSVERSION} >= 600000 && ${OSVERSION} < 600104)
RUN_DEPENDS+= ${LOCALBASE}/${LDCONFIG_DIR}:${PORTSDIR}/misc/ldconfig_compat
.endif
.endif