blob: 6ace4b66e90cc0a5944b59232f1f959e853a69a8 (
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
32
33
34
35
36
37
38
39
40
41
42
|
# $NetBSD: Makefile,v 1.20 2019/07/20 22:46:47 wiz Exp $
PKGNAME= libprelude-perl-${VERSION}
PKGREVISION= 17
COMMENT= Perl bindings to LibPrelude
.include "../../security/libprelude/Makefile.common"
CONFIGURE_ARGS+= --with-perl=${PERL5:Q}
CONFIGURE_ARGS+= --with-perl-installdirs=vendor
USE_TOOLS+= perl:run
PERL5_PACKLIST= auto/Prelude/.packlist
PERL5_PACKLIST+= auto/PreludeEasy/.packlist
PERL5_CONFIGURE= no
# something overrides USE_LANGUAGES from Makefile.common so repeat this here
USE_LANGUAGES= c c++
.include "../../lang/perl5/module.mk"
PLIST_SRC=
BUILD_DIRS= bindings/low-level/perl bindings/perl
PKG_OPTIONS_VAR= PKG_OPTIONS.libprelude
PKG_SUPPORTED_OPTIONS= debug
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdebug)
CFLAGS= -O0 -ggdb
.endif
do-build:
cd ${WRKSRC}/bindings && ${MAKE} perl-build
cd ${WRKSRC}/bindings/low-level && ${MAKE} perl-build
.include "../../devel/libltdl/convenience.mk"
.include "../../security/gnutls/buildlink3.mk"
.include "../../security/gnutls/libgnutls-config.mk"
.include "../../security/libprelude/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|