| @@ -1,44 +1,44 @@ | | | @@ -1,44 +1,44 @@ |
1 | # $NetBSD: Makefile,v 1.12 2022/06/28 11:34:44 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.13 2022/10/30 11:41:46 nros Exp $ |
2 | | | 2 | |
3 | DISTNAME= pari-2.3.5 | | 3 | DISTNAME= pari-2.3.5 |
4 | PKGREVISION= 27 | | 4 | PKGREVISION= 27 |
5 | CATEGORIES= math | | 5 | CATEGORIES= math |
6 | MASTER_SITES= http://pari.math.u-bordeaux.fr/pub/pari/unix/ | | 6 | MASTER_SITES= http://pari.math.u-bordeaux.fr/pub/pari/OLD/2.3/ |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://pari.math.u-bordeaux.fr/ | | 9 | HOMEPAGE= https://pari.math.u-bordeaux.fr/ |
10 | COMMENT= Software package for computer-aided number theory (2.3 version) | | 10 | COMMENT= Software package for computer-aided number theory (2.3 version) |
11 | LICENSE= gnu-gpl-v2 | | 11 | LICENSE= gnu-gpl-v2 |
12 | | | 12 | |
13 | MAKE_JOBS_SAFE= no | | 13 | MAKE_JOBS_SAFE= no |
14 | | | 14 | |
15 | USE_LIBTOOL= yes | | 15 | USE_LIBTOOL= yes |
16 | USE_TOOLS+= perl | | 16 | USE_TOOLS+= perl |
17 | USE_LANGUAGES+= c c++ | | 17 | USE_LANGUAGES+= c c++ |
18 | HAS_CONFIGURE= yes | | 18 | HAS_CONFIGURE= yes |
19 | CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} | | 19 | CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} |
20 | CONFIGURE_ENV+= PERL5=${PERL5:Q} | | 20 | CONFIGURE_ENV+= PERL5=${PERL5:Q} |
21 | | | 21 | |
22 | CONFIGURE_SCRIPT= ${WRKSRC}/Configure | | 22 | CONFIGURE_SCRIPT= ${WRKSRC}/Configure |
23 | CONFIGURE_ARGS+= --prefix=${PREFIX} | | 23 | CONFIGURE_ARGS+= --prefix=${PREFIX} |
24 | CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}/man1 | | 24 | CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}/man1 |
25 | CONFIGURE_ARGS+= --share-prefix=${PREFIX}/share | | 25 | CONFIGURE_ARGS+= --share-prefix=${PREFIX}/share |
26 | | | 26 | |
27 | REPLACE_PERL+= src/desc/PARI/822.pm | | 27 | REPLACE_PERL+= src/desc/PARI/822.pm |
28 | | | 28 | |
29 | BUILD_TARGET= all | | 29 | BUILD_TARGET= all |
30 | TEST_TARGET= test-compat bench | | 30 | TEST_TARGET= test-compat bench |
31 | INSTALL_TARGET= install | | 31 | INSTALL_TARGET= install |
32 | | | 32 | |
33 | SUBST_CLASSES+= fix-cfg | | 33 | SUBST_CLASSES+= fix-cfg |
34 | SUBST_STAGE.fix-cfg= pre-configure | | 34 | SUBST_STAGE.fix-cfg= pre-configure |
35 | SUBST_MESSAGE.fix-cfg= Adding CFLAGS to Configure scripts. | | 35 | SUBST_MESSAGE.fix-cfg= Adding CFLAGS to Configure scripts. |
36 | SUBST_FILES.fix-cfg= config/get_* | | 36 | SUBST_FILES.fix-cfg= config/get_* |
37 | SUBST_SED.fix-cfg= -e 's,$$CC $$extraflag,$$CC $$CFLAGS $$extraflag,g' | | 37 | SUBST_SED.fix-cfg= -e 's,$$CC $$extraflag,$$CC $$CFLAGS $$extraflag,g' |
38 | | | 38 | |
39 | .include "options.mk" | | 39 | .include "options.mk" |
40 | | | 40 | |
41 | .include "../../devel/ncurses/buildlink3.mk" | | 41 | .include "../../devel/ncurses/buildlink3.mk" |
42 | # rl_save_prompt() | | 42 | # rl_save_prompt() |
43 | .include "../../devel/readline/buildlink3.mk" | | 43 | .include "../../devel/readline/buildlink3.mk" |
44 | .include "../../mk/bsd.pkg.mk" | | 44 | .include "../../mk/bsd.pkg.mk" |