mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Enable separate flavors for different python versions.
Since python is enabled by default, this keeps the version with the default python version as 'gdb' and adds a package suffix for other python versions. Reviewed by: pizzamig (maintainer) Differential Revision: https://reviews.freebsd.org/D18534
This commit is contained in:
parent
9061a45b61
commit
955fedfa2f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=490337
@ -20,7 +20,7 @@ LIB_DEPENDS= libmpfr.so:math/mpfr
|
||||
TEST_DEPENDS= runtest:misc/dejagnu
|
||||
|
||||
USES= compiler:c++11-lang cpe gmake libtool tar:xz
|
||||
USE_PYTHON= py3kplist
|
||||
USE_PYTHON= flavors py3kplist
|
||||
|
||||
TEST_TARGET= check
|
||||
|
||||
@ -85,6 +85,12 @@ TUI_CONFIGURE_ENABLE= tui
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MPYTHON}
|
||||
.if ${PYTHON_VER} != ${PYTHON_DEFAULT}
|
||||
PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if ! ${PORT_OPTIONS:MBUNDLED_READLINE}
|
||||
EXCLUDE+= readline
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user