2020-01-18 22:48:19 +01:00
|
|
|
#$ $NetBSD: Makefile,v 1.2 2020/01/18 21:49:00 jperkin Exp $
|
2018-10-23 18:02:51 +02:00
|
|
|
|
|
|
|
PKGNAME= ${DISTNAME:C/-/11-plperl-/}
|
2020-01-18 22:48:19 +01:00
|
|
|
PKGREVISION= 1
|
2018-10-23 18:02:51 +02:00
|
|
|
COMMENT= PL/Perl procedural language for the PostgreSQL backend
|
|
|
|
|
|
|
|
DEPENDS+= postgresql11-server>=${PKGVERSION_NOREV}:../../databases/postgresql11-server
|
|
|
|
|
|
|
|
.include "../../databases/postgresql11/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/postgresql11-client/buildlink3.mk"
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|