2016-04-09 14:51:44 +02:00
|
|
|
# $NetBSD: Makefile,v 1.10 2016/04/09 12:51:47 adam Exp $
|
2013-09-10 17:32:32 +02:00
|
|
|
|
|
|
|
PKGNAME= ${DISTNAME:C/-/93-plperl-/}
|
|
|
|
COMMENT= PL/Perl procedural language for the PostgreSQL backend
|
|
|
|
|
|
|
|
DEPENDS+= postgresql93-server>=${PKGVERSION_NOREV}:../../databases/postgresql93-server
|
|
|
|
|
|
|
|
.include "../../databases/postgresql93/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
|
|
|
|
|
2016-02-25 01:06:30 +01:00
|
|
|
# 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
|
|
|
|
|
2013-09-10 17:32:32 +02:00
|
|
|
.include "../../databases/postgresql93-client/buildlink3.mk"
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|