Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.port.mk
Show First 20 Lines • Show All 172 Lines • ▼ Show 20 Lines | |||||
# assumption. | # assumption. | ||||
# BROKEN_${ARCH} - Port is believed to be broken on ${ARCH}. Package builds | # BROKEN_${ARCH} - Port is believed to be broken on ${ARCH}. Package builds | ||||
# can still be attempted using TRYBROKEN to | # can still be attempted using TRYBROKEN to | ||||
# test this assumption. | # test this assumption. | ||||
# BROKEN_${OPSYS} - Port is believed to be broken on ${OPSYS}. Package builds | # BROKEN_${OPSYS} - Port is believed to be broken on ${OPSYS}. Package builds | ||||
# can still be attempted using TRYBROKEN to | # can still be attempted using TRYBROKEN to | ||||
# test this assumption. | # test this assumption. | ||||
# BROKEN_${OPSYS}_${OSREL:R} - Port is believed to be broken on a single | # BROKEN_${OPSYS}_${OSREL:R} - Port is believed to be broken on a single | ||||
# release of ${OPSYS}, e.g BROKEN_FreeBSD_8 | # release of ${OPSYS}, e.g BROKEN_FreeBSD_11 | ||||
# would affect all point releases of FreeBSD 8 | # would affect all point releases of FreeBSD 11 | ||||
# unless TRYBROKEN is also set. | # unless TRYBROKEN is also set. | ||||
mat: Let's get more in the future and put "13" here ? ^^ | |||||
# BROKEN_${OPSYS}_${OSREL:R}_${ARCH} - Port is believed to be broken on a | # BROKEN_${OPSYS}_${OSREL:R}_${ARCH} - Port is believed to be broken on a | ||||
# single release of ${OPSYS} and specific architecture, | # single release of ${OPSYS} and specific architecture, | ||||
# e.g BROKEN_FreeBSD_8_i386 would affect all point | # e.g BROKEN_FreeBSD_8_i386 would affect all point | ||||
# releases of FreeBSD 8 in i386 | # releases of FreeBSD 8 in i386 | ||||
# unless TRYBROKEN is also set. | # unless TRYBROKEN is also set. | ||||
# DEPRECATED - Port is deprecated to install. Advisory only. | # DEPRECATED - Port is deprecated to install. Advisory only. | ||||
# EXPIRATION_DATE | # EXPIRATION_DATE | ||||
# - If DEPRECATED is set, determines a date when | # - If DEPRECATED is set, determines a date when | ||||
▲ Show 20 Lines • Show All 965 Lines • ▼ Show 20 Lines | |||||
.elif exists(${SRC_BASE}/sys/sys/param.h) | .elif exists(${SRC_BASE}/sys/sys/param.h) | ||||
OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < ${SRC_BASE}/sys/sys/param.h | OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < ${SRC_BASE}/sys/sys/param.h | ||||
.else | .else | ||||
.error Unable to determine OS version. Either define OSVERSION, install /usr/include/sys/param.h or define SRC_BASE. | .error Unable to determine OS version. Either define OSVERSION, install /usr/include/sys/param.h or define SRC_BASE. | ||||
.endif | .endif | ||||
.endif | .endif | ||||
_EXPORTED_VARS+= OSVERSION | _EXPORTED_VARS+= OSVERSION | ||||
.if (${OPSYS} == FreeBSD && ${OSVERSION} < 1102000) || \ | .if (${OPSYS} == FreeBSD && ${OSVERSION} < 1103000) || \ | ||||
(${OPSYS} == DragonFly && ${DFLYVERSION} < 400400) | (${OPSYS} == DragonFly && ${DFLYVERSION} < 400400) | ||||
_UNSUPPORTED_SYSTEM_MESSAGE= Ports Collection support for your ${OPSYS} version has ended, and no ports\ | _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. | are guaranteed to build on this system. Please upgrade to a supported release. | ||||
. if defined(ALLOW_UNSUPPORTED_SYSTEM) | . if defined(ALLOW_UNSUPPORTED_SYSTEM) | ||||
WARNING+= "${_UNSUPPORTED_SYSTEM_MESSAGE}" | WARNING+= "${_UNSUPPORTED_SYSTEM_MESSAGE}" | ||||
. else | . else | ||||
show-unsupported-system-error: | show-unsupported-system-error: | ||||
@${ECHO_MSG} "/!\\ ERROR: /!\\" | @${ECHO_MSG} "/!\\ ERROR: /!\\" | ||||
▲ Show 20 Lines • Show All 4,208 Lines • Show Last 20 Lines |
Let's get more in the future and put "13" here ? ^^