| @@ -1,40 +1,41 @@ | | | @@ -1,40 +1,41 @@ |
1 | # $NetBSD: Makefile,v 1.86 2017/04/22 21:03:12 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.87 2017/08/19 00:23:58 jlam Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= parrot-${PARROT_VERSION} | | 4 | DISTNAME= parrot-${PARROT_VERSION} |
5 | PKGREVISION= 12 | | 5 | PKGREVISION= 12 |
6 | CATEGORIES= lang | | 6 | CATEGORIES= lang |
7 | MASTER_SITES= ftp://ftp.parrot.org/pub/parrot/releases/${PARROT_RTYPE}/${PARROT_VERSION}/ | | 7 | MASTER_SITES= ftp://ftp.parrot.org/pub/parrot/releases/${PARROT_RTYPE}/${PARROT_VERSION}/ |
8 | | | 8 | |
9 | MAINTAINER= he@NetBSD.org | | 9 | MAINTAINER= he@NetBSD.org |
10 | HOMEPAGE= http://www.parrotcode.org/ | | 10 | HOMEPAGE= http://www.parrotcode.org/ |
11 | COMMENT= Virtual machine made to run Perl 6 and other languages | | 11 | COMMENT= Virtual machine made to run Perl 6 and other languages |
12 | LICENSE= artistic-2.0 | | 12 | LICENSE= artistic-2.0 |
13 | | | 13 | |
14 | USE_LANGUAGES= c c++ | | 14 | USE_LANGUAGES= c c++ |
15 | USE_TOOLS+= perl gmake | | 15 | USE_TOOLS+= perl gmake |
16 | PTHREAD_OPTS+= require | | 16 | PTHREAD_OPTS+= require |
17 | BUILD_TARGET= world | | 17 | BUILD_TARGET= world |
18 | TEST_TARGET= test | | 18 | TEST_TARGET= test |
19 | HAS_CONFIGURE= yes | | 19 | HAS_CONFIGURE= yes |
20 | MAKE_JOBS_SAFE= no | | 20 | MAKE_JOBS_SAFE= no |
21 | | | 21 | |
22 | .include "../../mk/pthread.buildlink3.mk" | | 22 | .include "../../mk/pthread.buildlink3.mk" |
23 | .include "../../mk/bsd.prefs.mk" | | 23 | .include "../../mk/bsd.prefs.mk" |
24 | | | 24 | |
25 | CONFIG_SHELL= perl | | 25 | CONFIG_SHELL= perl |
26 | CONFIGURE_SCRIPT= Configure.pl | | 26 | CONFIGURE_SCRIPT= Configure.pl |
27 | CONFIGURE_ARGS+= --prefix=${PREFIX:Q} \ | | 27 | CONFIGURE_ARGS+= --prefix=${PREFIX:Q} \ |
| | | 28 | --mandir=${PREFIX:Q}/${PKGMANDIR:Q} \ |
28 | --icu-config=${PREFIX}/bin/icu-config \ | | 29 | --icu-config=${PREFIX}/bin/icu-config \ |
29 | --without-opengl --without-pcre \ | | 30 | --without-opengl --without-pcre \ |
30 | --without-zlib \ | | 31 | --without-zlib \ |
31 | --without-libffi \ | | 32 | --without-libffi \ |
32 | --optimize | | 33 | --optimize |
33 | # --without-llvm | | 34 | # --without-llvm |
34 | | | 35 | |
35 | SUBST_CLASSES+= pthread | | 36 | SUBST_CLASSES+= pthread |
36 | SUBST_STAGE.pthread= post-configure | | 37 | SUBST_STAGE.pthread= post-configure |
37 | SUBST_FILES.pthread= Makefile | | 38 | SUBST_FILES.pthread= Makefile |
38 | SUBST_SED.pthread= -e 's|-pthread||g' | | 39 | SUBST_SED.pthread= -e 's|-pthread||g' |
39 | SUBST_SED.pthread+= -e 's|-lpthread||g' | | 40 | SUBST_SED.pthread+= -e 's|-lpthread||g' |
40 | SUBST_SED.pthread+= -e 's|-lc_r||g' | | 41 | SUBST_SED.pthread+= -e 's|-lc_r||g' |