Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2019-12-10 02:59:05 +0300
committerBryan Drewery <bryan@shatow.net>2019-12-10 02:59:34 +0300
commitcbda9e3fe94feaa54bd4806ac3bb7f0804c3c64a (patch)
treee31c8dd78429cd727d62bcbc83ba66c10ee21c39 /test-ports
parent9da4309eb18da693a6bbcd09e51a9dc784cf68b3 (diff)
Add -a overlay tests and fix -a duplicates
Diffstat (limited to 'test-ports')
-rw-r--r--test-ports/overlay/misc/foo/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-ports/overlay/misc/foo/Makefile b/test-ports/overlay/misc/foo/Makefile
index b749ab4c..53abb470 100644
--- a/test-ports/overlay/misc/foo/Makefile
+++ b/test-ports/overlay/misc/foo/Makefile
@@ -4,6 +4,14 @@ PORTNAME= foo
DISTVERSION= 20161010
PORTREVISION= 0
PKGNAMESUFFIX= -OVERLAY
+FLAVORS= DEFAULT FLAV IGNORED_OVERLAY
+FLAVOR?= DEFAULT
+.if ${FLAVOR} != DEFAULT && !empty(FLAVORS:M${FLAVOR})
+PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-${FLAVOR}
+.endif
+.if ${FLAVOR} == IGNORED_OVERLAY
+IGNORE= ignored
+.endif
CATEGORIES= misc
MASTER_SITES= #
DISTFILES= #