ports/devel/py-subversion/Makefile
Michael Osipov e83f0a9c84 */*: Properly depend on Subversion LTS or latest with WITH_SUBVERSION_VER
When LTS version of Subversion is set in make.conf (WITH_SUBVERSION_VER)
depending ports will still depend on latest version (devel/subversion)
instead of LTS one (devel/subversion-lts). This will cause dependency
conflicts when packages are distributed with Poudriere, namely pkg(8)
will report them and fail to install.
Make all affected ports properly depend on the right port based on the
value set in WITH_SUBVERSION_VER.

Approved by:	jrm (mentor), otis (mentor), lev (maintainer timeout)
Differential Revision:	https://reviews.freebsd.org/D43864
2024-02-28 16:53:37 +01:00

34 lines
744 B
Makefile

PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lev@FreeBSD.org
COMMENT= Python bindings for version control system
WWW= https://subversion.apache.org/
BUILD_DEPENDS= ${LOCALBASE}/include/py3c.h:devel/py3c
USES= python
USE_PYTHON= flavors py3kplist
# There is bug in python bindings Makefile
MAKE_JOBS_UNSAFE=yes
PORTREVISION_LATEST= 3
PORTREVISION_LTS= 1
SVN_BUILD_BINDINGS= yes
.include "${.CURDIR}/../../devel/subversion/Makefile.addons"
CATEGORIES+= python
CONFIGURE_ARGS+= --with-swig-python=${PYTHON_CMD} \
--without-swig-perl \
--without-swig-ruby \
--without-gnome-keyring \
--without-kwallet \
--with-apxs=no
ALL_TARGET= swig-py check-swig-py
INSTALL_TARGET= install-swig-py
.include <bsd.port.post.mk>