32 lines
793 B
Makefile
32 lines
793 B
Makefile
# $NetBSD: Makefile,v 1.30 2021/05/24 19:49:50 wiz Exp $
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 2
|
|
COMMENT= Python extension for SQL Relay
|
|
|
|
.include "../../databases/sqlrelay/Makefile.common"
|
|
|
|
LICENSE= modified-bsd
|
|
|
|
# TODO: switch to PYTHON_VERSIONS_INCOMPATIBLE
|
|
#PYTHON_VERSIONS_ACCEPTED= 37 36 27 # 37 fails as of 1.0.0
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
|
|
CONFIGURE_ARGS+= --disable-perl
|
|
|
|
#.if ${_PYTHON_VERSION} == 27
|
|
#CONFIGURE_ARGS+= --disable-python3
|
|
#.else
|
|
#CONFIGURE_ARGS+= --disable-python
|
|
#.endif
|
|
CONFIGURE_ARGS+= --with-python-prefix=${PREFIX}
|
|
CONFIGURE_ENV+= PYVERSSUFFIX=${PYVERSSUFFIX}
|
|
|
|
BUILD_DIRS= src/api/python
|
|
|
|
PY_PATCHPLIST= yes
|
|
|
|
.include "../../databases/sqlrelay/buildlink3.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|