git: a0fd11f2de19 - main - Mk/bsd.port.mk: drop check for unsupported DragonFlyBSD versions.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Mar 2022 21:15:35 UTC
The branch main has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a0fd11f2de19431047b69f0173ea920c409d728a
commit a0fd11f2de19431047b69f0173ea920c409d728a
Author: Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2022-03-22 21:12:07 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2022-03-22 21:15:26 +0000
Mk/bsd.port.mk: drop check for unsupported DragonFlyBSD versions.
It is probably better that DragonFlyBSD adds their own minimum
version check. Our check was already severely outdated, it
checked for at least version 4.4 while version 6.2 is contemporary.
Discussed with: portmgr
---
Mk/bsd.port.mk | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 7419f99e4a45..58a03b2fb643 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1177,8 +1177,7 @@ OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < ${SRC
.endif
_EXPORTED_VARS+= OSVERSION
-.if (${OPSYS} == FreeBSD && ${OSVERSION} < 1202000) || \
- (${OPSYS} == DragonFly && ${DFLYVERSION} < 400400)
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1202000
_UNSUPPORTED_SYSTEM_MESSAGE= Ports Collection support for your ${OPSYS} version has ended, and no ports\
are guaranteed to build on this system. Please upgrade to a supported release.
. if defined(ALLOW_UNSUPPORTED_SYSTEM)