# $NetBSD: Makefile,v 1.31 2023/11/13 20:22:05 adam Exp $ PKGNAME= ${DISTNAME:S/-/12-plpython-/} 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"