# $NetBSD: Makefile,v 1.24 2022/11/23 16:19:40 adam Exp $ PKGNAME= ${DISTNAME:S/-/12-plpython-/} PKGREVISION= 1 COMMENT= PL/Python procedural language for the PostgreSQL backend DEPENDS+= postgresql12-server>=${PKGVERSION_NOREV}:../../databases/postgresql12-server .include "../../databases/postgresql12/Makefile.common" TOOLS_BROKEN+= perl CONFIGURE_ARGS+= --with-python CONFIGURE_ENV+= PYTHON="${PYTHONBIN}" BUILD_MAKE_FLAGS= PGXS=1 BUILD_DIRS= src/pl/plpython contrib/hstore_plpython .include "../../databases/postgresql12-client/buildlink3.mk" .include "../../lang/python/extension.mk" .include "../../mk/bsd.pkg.mk"