blob: 82bd05b7de9166cfeb3f2621383a95746bbbf55e (
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
43
44
45
|
# $NetBSD: Makefile,v 1.32 2021/09/30 13:31:57 mef Exp $
DISTNAME= MoarVM-2021.09
CATEGORIES= devel perl6
MASTER_SITES= http://www.moarvm.org/releases/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.moarvm.org/
COMMENT= Virtual machine for Rakudo Perl 6
LICENSE= artistic-2.0
DEPENDS+= zstd>=1.0.0:../../archivers/zstd
USE_TOOLS+= perl gmake
USE_LANGUAGES= c c++
NOT_PAX_MPROTECT_SAFE= bin/moar
HAS_CONFIGURE= yes
CONFIG_SHELL= ${PERL5}
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib -L${PREFIX}/lib
CONFIGURE_ENV+= LDFLAGS=${LDFLAGS:Q}
CONFIGURE_SCRIPT= Configure.pl
CONFIGURE_ARGS= --prefix=${PREFIX:Q} \
--has-libatomic_ops \
--has-libffi \
--has-libuv \
--has-libtommath
# skip portability check for release target
# The [[ is only used for producing a release.
CHECK_PORTABILITY_SKIP+= build/Makefile.in
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
PLIST_SUBST+= EXT=dylib
.else
PLIST_SUBST+= EXT=so
.endif
.include "../../devel/libatomic_ops/buildlink3.mk"
.include "../../devel/libffi/buildlink3.mk"
.include "../../devel/libuv/buildlink3.mk"
.include "../../math/ltm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|