# $NetBSD: Makefile,v 1.10 2017/01/16 13:15:22 fhajny Exp $ PKGNAME= ${PYPKGPREFIX}-${DISTNAME} COMMENT= Python extension for SQL Relay .include "../../databases/sqlrelay/Makefile.common" LICENSE= modified-bsd .include "../../lang/python/pyversion.mk" .if ${PYPKGPREFIX} == "py27" CONFIGURE_ARGS+= --disable-python3 CONFIGURE_ARGS+= --with-python-prefix=${PREFIX} .else CONFIGURE_ARGS+= --disable-python2 CONFIGURE_ARGS+= --with-python3-prefix=${PREFIX} .endif BUILD_DIRS= src/api/python PY_PATCHPLIST= yes .include "../../databases/sqlrelay/buildlink3.mk" .include "../../lang/python/extension.mk" .include "../../mk/bsd.pkg.mk"