Date: Tue, 15 Jan 2019 01:42:19 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r490337 - head/devel/gdb Message-ID: <201901150142.x0F1gJVd047845@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb (src,doc committer) Date: Tue Jan 15 01:42:19 2019 New Revision: 490337 URL: https://svnweb.freebsd.org/changeset/ports/490337 Log: 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 Modified: head/devel/gdb/Makefile Modified: head/devel/gdb/Makefile ============================================================================== --- head/devel/gdb/Makefile Tue Jan 15 01:27:57 2019 (r490336) +++ head/devel/gdb/Makefile Tue Jan 15 01:42:19 2019 (r490337) @@ -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 @@ -84,6 +84,12 @@ SYSTEM_ZLIB_WITH= system-zlib 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901150142.x0F1gJVd047845>