20 lines
629 B
Makefile
20 lines
629 B
Makefile
# $NetBSD: Makefile,v 1.26 2022/06/30 11:18:09 nia Exp $
|
|
|
|
PKGNAME= ${DISTNAME:S/-/10-plpython-/}
|
|
PKGREVISION= 2
|
|
COMMENT= PL/Python procedural language for the PostgreSQL backend
|
|
|
|
DEPENDS+= postgresql10-server>=${PKGVERSION_NOREV}:../../databases/postgresql10-server
|
|
|
|
.include "../../databases/postgresql10/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/postgresql10-client/buildlink3.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|