aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2017-12-04 19:26:47 +0800
committermat <mat@FreeBSD.org>2017-12-04 19:26:47 +0800
commit9faaef94648e8be5bc8459502be9980ba10b1faf (patch)
tree395d134526b717936c01e91b1a7a23f6de328865
parenta755346e6f5d8f125d41bf1619275476f9b8b8bd (diff)
downloadfreebsd-ports-gnome-9faaef94648e8be5bc8459502be9980ba10b1faf.tar.gz
freebsd-ports-gnome-9faaef94648e8be5bc8459502be9980ba10b1faf.tar.zst
freebsd-ports-gnome-9faaef94648e8be5bc8459502be9980ba10b1faf.zip
Add a note about USE_PYTHON=optsuffix being a kludge.
Sponsored by: Absolight
-rw-r--r--Mk/Uses/python.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk
index b6e66daa427f..0c6730cbf32f 100644
--- a/Mk/Uses/python.mk
+++ b/Mk/Uses/python.mk
@@ -448,6 +448,7 @@ _PYTHON_VERSION= ${FLAVOR:S/py//:C/(.)/\1./}
.if !empty(FLAVOR) && ${_PYTHON_VERSION} != ${PYTHON_DEFAULT}
.if defined(_PYTHON_FEATURE_OPTSUFFIX)
+DEV_WARNING+= "USE_PYTHON=optsuffix is deprecated, consider migrating to using unconditional PKGNAMESUFFIX or PKGNAMEPREFIX"
PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX}
.endif
.endif