Mk/bsd.port.mk: Remove support for FreeBSD 12.1 which reached end-of-life today.

MFH:		2021Q1
This commit is contained in:
Rene Ladan 2021-02-01 12:37:14 +00:00
parent b729eb9992
commit 2d9527944f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=563568

View File

@ -43,9 +43,9 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# makefile is being used on. Automatically set to
# "FreeBSD," "NetBSD," or "OpenBSD" as appropriate.
# OSREL - The release version of the operating system as a text
# string (e.g., "12.1").
# string (e.g., "12.2").
# OSVERSION - The operating system version as a comparable integer;
# the value of __FreeBSD_version (e.g., 1201000).
# the value of __FreeBSD_version (e.g., 1202000).
#
# This is the beginning of the list of all variables that need to be
# defined in a port, listed in order that they should be included
@ -1177,7 +1177,7 @@ OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < ${SRC
.endif
_EXPORTED_VARS+= OSVERSION
.if (${OPSYS} == FreeBSD && (${OSVERSION} < 1104000 || (${OSVERSION} >= 1200000 && ${OSVERSION} < 1201000))) || \
.if (${OPSYS} == FreeBSD && (${OSVERSION} < 1104000 || (${OSVERSION} >= 1200000 && ${OSVERSION} < 1202000))) || \
(${OPSYS} == DragonFly && ${DFLYVERSION} < 400400)
_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.