blob: b105bc899183b8cb4a077f13618169b36f15b40b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#$ $NetBSD: Makefile,v 1.4 2016/07/09 06:38:03 wiz Exp $
PKGNAME= ${DISTNAME:C/-/95-plperl-/}
PKGREVISION= 1
COMMENT= PL/Perl procedural language for the PostgreSQL backend
DEPENDS+= postgresql95-server>=${PKGVERSION_NOREV}:../../databases/postgresql95-server
.include "../../databases/postgresql95/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
#.PHONY: build-hstore_plperl
#post-build: build-hstore_plperl
#build-hstore_plperl:
# cd ${WRKSRC}/contrib/hstore_plperl && \
# ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} -f Makefile all
.include "../../databases/postgresql95-client/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"
|