| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.19 2017/06/05 14:22:47 ryoon Exp $ | | 1 | # $NetBSD: Makefile,v 1.20 2017/06/15 11:53:38 jperkin Exp $ |
2 | | | 2 | |
3 | DISTNAME= Curses-UI-0.9609 | | 3 | DISTNAME= Curses-UI-0.9609 |
4 | PKGNAME= p5-${DISTNAME} | | 4 | PKGNAME= p5-${DISTNAME} |
5 | PKGREVISION= 7 | | 5 | PKGREVISION= 7 |
6 | CATEGORIES= devel perl5 | | 6 | CATEGORIES= devel perl5 |
7 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Curses/} | | 7 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Curses/} |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://search.cpan.org/dist/Curses-UI | | 10 | HOMEPAGE= http://search.cpan.org/dist/Curses-UI |
11 | COMMENT= Curses based user user interface framework | | 11 | COMMENT= Curses based user user interface framework |
12 | LICENSE= ${PERL5_LICENSE} | | 12 | LICENSE= ${PERL5_LICENSE} |
13 | | | 13 | |
14 | DEPENDS+= p5-Curses>=1.29:../../devel/p5-Curses | | 14 | DEPENDS+= p5-Curses>=1.29:../../devel/p5-Curses |
| @@ -17,15 +17,17 @@ BUILD_DEPENDS+= p5-Test-Pod>=1.20:../../ | | | @@ -17,15 +17,17 @@ BUILD_DEPENDS+= p5-Test-Pod>=1.20:../../ |
17 | | | 17 | |
18 | # Make Curses-UI use Curses' wide character aware functions | | 18 | # Make Curses-UI use Curses' wide character aware functions |
19 | SUBST_CLASSES+= wide | | 19 | SUBST_CLASSES+= wide |
20 | SUBST_STAGE.wide= pre-configure | | 20 | SUBST_STAGE.wide= pre-configure |
21 | SUBST_MESSAGE.wide= Upgrading to use wide-character-aware Curses functions | | 21 | SUBST_MESSAGE.wide= Upgrading to use wide-character-aware Curses functions |
22 | SUBST_FILES.wide= lib/Curses/UI.pm | | 22 | SUBST_FILES.wide= lib/Curses/UI.pm |
23 | SUBST_FILES.wide+= lib/Curses/UI/*.pm | | 23 | SUBST_FILES.wide+= lib/Curses/UI/*.pm |
24 | SUBST_FILES.wide+= lib/Curses/UI/*/*.pm | | 24 | SUBST_FILES.wide+= lib/Curses/UI/*/*.pm |
25 | SUBST_SED.wide= -e 's/getch/getchar/g' | | 25 | SUBST_SED.wide= -e 's/getch/getchar/g' |
26 | SUBST_SED.wide+= -e 's/addstr/addstring/g' | | 26 | SUBST_SED.wide+= -e 's/addstr/addstring/g' |
27 | | | 27 | |
28 | PERL5_PACKLIST= auto/Curses/UI/.packlist | | 28 | PERL5_PACKLIST= auto/Curses/UI/.packlist |
29 | | | 29 | |
| | | 30 | MAKE_ENV+= PERL_USE_UNSAFE_INC=1 |
| | | 31 | |
30 | .include "../../lang/perl5/module.mk" | | 32 | .include "../../lang/perl5/module.mk" |
31 | .include "../../mk/bsd.pkg.mk" | | 33 | .include "../../mk/bsd.pkg.mk" |