pkgsrc/databases/postgresql14-plperl/Makefile
2021-12-08 16:01:42 +00:00

25 lines
752 B
Makefile

#$ $NetBSD: Makefile,v 1.2 2021/12/08 16:03:47 adam Exp $
PKGNAME= ${DISTNAME:S/-/14-plperl-/}
PKGREVISION= 1
COMMENT= PL/Perl procedural language for the PostgreSQL backend
DEPENDS+= postgresql14-server>=${PKGVERSION_NOREV}:../../databases/postgresql14-server
.include "../../databases/postgresql14/Makefile.common"
USE_TOOLS+= perl
PERL5_CONFIGURE= no
CONFIGURE_ARGS+= --with-perl
BUILD_MAKE_FLAGS= PGXS=1
BUILD_DIRS= src/pl/plperl
MAKE_FILE= GNUmakefile
# There is some dependency ordering problem in the Makefile,
# so force the headers to be generated first.
BUILD_TARGET= perlchunks.h plperl_opmask.h all
.include "../../databases/postgresql14-client/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"