aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGES
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2017-11-30 23:33:46 +0800
committermat <mat@FreeBSD.org>2017-11-30 23:33:46 +0800
commit87acdef7b7611e12c4cc94c9151dc1bc5e5ab5e9 (patch)
tree32c22bac71e3351d3f69ef4c94b7a12e5dcdc611 /CHANGES
parent4b9fac224203752b835bc0bf378c002afcaafe9d (diff)
downloadfreebsd-ports-gnome-87acdef7b7611e12c4cc94c9151dc1bc5e5ab5e9.tar.gz
freebsd-ports-gnome-87acdef7b7611e12c4cc94c9151dc1bc5e5ab5e9.tar.zst
freebsd-ports-gnome-87acdef7b7611e12c4cc94c9151dc1bc5e5ab5e9.zip
Add various FLAVOR related helpers.
To help with flavored ports, helpers are available. In these, replace <*> with the flavor name. *_PKGNAMEPREFIX *_PKGNAMESUFFIX *_PLIST *_DESCR will overwrite the variable. *_CONFLICTS *_CONFLICTS_BUILD *_CONFLICTS_INSTALL *_PKG_DEPENDS *_EXTRACT_DEPENDS *_PATCH_DEPENDS *_FETCH_DEPENDS *_BUILD_DEPENDS *_LIB_DEPENDS *_RUN_DEPENDS *_TEST_DEPENDS will append to the variable. Reviewed by: portmgr Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D12483
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES22
1 files changed, 22 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index b8c9e431d6a0..5a15d2c2c6ea 100644
--- a/CHANGES
+++ b/CHANGES
@@ -13,6 +13,28 @@ All ports committers are allowed to commit to this file.
20171130:
AUTHOR: mat@FreeBSD.org
+ To help with flavored ports, helpers are available. In these, replace <*>
+ with the flavor name.
+
+ *_PKGNAMEPREFIX *_PKGNAMESUFFIX *_PLIST *_DESCR will overwrite the variable.
+
+ *_CONFLICTS *_CONFLICTS_BUILD *_CONFLICTS_INSTALL *_PKG_DEPENDS
+ *_EXTRACT_DEPENDS *_PATCH_DEPENDS *_FETCH_DEPENDS *_BUILD_DEPENDS
+ *_LIB_DEPENDS *_RUN_DEPENDS *_TEST_DEPENDS will append to the variable.
+
+ For example:
+
+ flavor2_PKGNAMESUFFIX= -foo
+
+ can replace:
+
+ .if ${FLAVOR:U} == flavor2
+ PKGNAMESUFFIX= -foo
+ .endif
+
+20171130:
+AUTHOR: mat@FreeBSD.org
+
Flavors are a way to have multiple variations of a port. The port is built
multiple times, with the variations. To declare flavors, set the FLAVORS
variable to the flavors you want defined. The first flavor will be the