aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-08-30 06:08:19 +0800
committermat <mat@FreeBSD.org>2016-08-30 06:08:19 +0800
commit36c4a4c9be22729e5433f15c9b2a5bb3208fa5e5 (patch)
treed6cbccac6024ca24ae8fd0a88535b580dc8dcaec /Mk
parent74612b196efa2845d1681073123a013861e549a0 (diff)
downloadfreebsd-ports-gnome-36c4a4c9be22729e5433f15c9b2a5bb3208fa5e5.tar.gz
freebsd-ports-gnome-36c4a4c9be22729e5433f15c9b2a5bb3208fa5e5.tar.zst
freebsd-ports-gnome-36c4a4c9be22729e5433f15c9b2a5bb3208fa5e5.zip
Introduce IGNORE_opsys/osrel/arch, similar to the BROKEN_* ones.
Sponsored by: Absolight
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk27
1 files changed, 22 insertions, 5 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 047ae5d11c04..ddffe5caba07 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -167,6 +167,15 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# because it cannot be manually fetched, etc). Error
# logs will not appear on pointyhat, so this should be
# used sparingly.
+# IGNORE_${ARCH} - Port should be ignored on ${ARCH}.
+# IGNORE_${OPSYS} - Port should be ignored on ${OPSYS}.
+# IGNORE_${OPSYS}_${OSREL:R} - Port should be ignored on a single
+# release of ${OPSYS}, e.g IGNORE_FreeBSD_8
+# would affect all point releases of FreeBSD 8.
+# IGNORE_${OPSYS}_${OSREL:R}_${ARCH} - Port should be ignored on a
+# single release of ${OPSYS} and specific architecture,
+# e.g IGNORE_FreeBSD_8_i386 would affect all point
+# releases of FreeBSD 8 in i386.
# BROKEN - Port is believed to be broken. Package builds can
# still be attempted using TRYBROKEN to test this
# assumption.
@@ -2742,6 +2751,14 @@ IGNORE= may not be placed on a CDROM: ${NO_CDROM}
IGNORE= is restricted: ${RESTRICTED}
.elif (defined(NO_PACKAGE) && defined(PACKAGE_BUILDING))
IGNORE= may not be packaged: ${NO_PACKAGE}
+.elif defined(IGNORE_${ARCH})
+IGNORE= ${IGNORE_${ARCH}}
+.elif defined(IGNORE_${OPSYS}_${OSREL:R}_${ARCH})
+IGNORE= ${IGNORE_${OPSYS}_${OSREL:R}_${ARCH}}
+.elif defined(IGNORE_${OPSYS}_${OSREL:R})
+IGNORE= ${IGNORE_${OPSYS}_${OSREL:R}}
+.elif defined(IGNORE_${OPSYS})
+IGNORE= ${IGNORE_${OPSYS}}
.elif defined(BROKEN)
.if !defined(TRYBROKEN)
IGNORE= is marked as broken: ${BROKEN}
@@ -2750,14 +2767,14 @@ IGNORE= is marked as broken: ${BROKEN}
.if !defined(TRYBROKEN)
IGNORE= is marked as broken on ${ARCH}: ${BROKEN_${ARCH}}
.endif
-.elif defined(BROKEN_${OPSYS}_${OSREL:R})
-.if !defined(TRYBROKEN)
-IGNORE= is marked as broken on ${OPSYS} ${OSREL}: ${BROKEN_${OPSYS}_${OSREL:R}}
-.endif
.elif defined(BROKEN_${OPSYS}_${OSREL:R}_${ARCH})
.if !defined(TRYBROKEN)
IGNORE= is marked as broken on ${OPSYS} ${OSREL} ${ARCH}: ${BROKEN_${OPSYS}_${OSREL:R}_${ARCH}}
.endif
+.elif defined(BROKEN_${OPSYS}_${OSREL:R})
+.if !defined(TRYBROKEN)
+IGNORE= is marked as broken on ${OPSYS} ${OSREL}: ${BROKEN_${OPSYS}_${OSREL:R}}
+.endif
.elif defined(BROKEN_${OPSYS})
.if !defined(TRYBROKEN)
IGNORE= is marked as broken on ${OPSYS}: ${BROKEN_${OPSYS}}
@@ -2805,7 +2822,7 @@ ${target}:
.endif
-.endif
+.endif # !defined(NO_IGNORE)
.if defined(IGNORE) || defined(NO_PACKAGE)
ignorelist: package-name