Page MenuHomeFreeBSD

D9210.id24107.diff
No OneTemporary

D9210.id24107.diff

Index: Mk/bsd.port.mk
===================================================================
--- Mk/bsd.port.mk
+++ Mk/bsd.port.mk
@@ -1144,6 +1144,15 @@
.endif
_EXPORTED_VARS+= OSVERSION
+.if ${OPSYS} == FreeBSD && (${OSVERSION} < 1003000 || (${OSVERSION} >= 1100000 && ${OSVERSION} < 1100122))
+_UNSUPPORTED_MESSAGE= ${OPSYS} version you are running is not supported by the Ports Collection, no port is guaranteed to build. Please upgrade to a supported release or, as a last resort, use a ports tree snapshot dated within your system support lifetime.
+. if defined(ALLOW_UNSUPPORTED_SYSTEM)
+WARNING+= "${_UNSUPPORTED_MESSAGE}"
+. else
+IGNORE= ${_UNSUPPORTED_MESSAGE} You may define ALLOW_UNSUPPORTED_SYSTEM to proceed, but you have been warned
+. endif
+.endif
+
# Convert OSVERSION to major release number
_OSVERSION_MAJOR= ${OSVERSION:C/([0-9]?[0-9])([0-9][0-9])[0-9]{3}/\1/}
# Sanity checks for chroot/jail building.

File Metadata

Mime Type
text/plain
Expires
Sat, Feb 28, 6:22 AM (18 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29056305
Default Alt Text
D9210.id24107.diff (931 B)

Event Timeline