Ravenports generated: 28 May 2019 13:42
[ravenports.git] / bucket_FB / perl-Locale-gettext
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               perl-Locale-gettext
4 VERSION=                1.07
5 KEYWORDS=               perl
6 VARIANTS=               530 528
7 SDESC[530]=             Message handling functions (v530)
8 SDESC[528]=             Message handling functions (v528)
9 HOMEPAGE=               https://github.com/vandry/Perl-Locale-gettext
10 CONTACT=                Perl_Automaton[perl@ironwolf.systems]
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            CPAN/ID:P/PV/PVANDRY
14 DISTFILE[1]=            gettext-1.07.tar.gz:main
15 DF_INDEX=               1
16 SPKGS[530]=             single
17 SPKGS[528]=             single
18
19 OPTIONS_AVAILABLE=      PERL_530 PERL_528
20 OPTIONS_STANDARD=       none
21 VOPTS[530]=             PERL_530=ON PERL_528=OFF
22 VOPTS[528]=             PERL_530=OFF PERL_528=ON
23
24 USES=                   gettext-runtime gettext-tools
25
26 DISTNAME=               gettext-1.07
27
28 GENERATED=              yes
29
30 CONFIGURE_ENV=          LOCALBASE={{LOCALBASE}}
31
32 SINGLE_JOB=             yes
33
34 [PERL_528].USES_ON=                     perl:528,configure
35
36 [PERL_530].USES_ON=                     perl:530,configure
37
38 [FILE:47:descriptions/desc.single]
39 Perl bindings for POSIX i18n gettext functions
40
41
42 [FILE:98:distinfo]
43 909d47954697e7c04218f972915b787bd1244d75e3bd01620bc167d5bbc49c15         8651 gettext-1.07.tar.gz
44
45
46 [FILE:856:patches/patch-Makefile.PL]
47 --- Makefile.PL.orig    2015-09-18 17:06:07 UTC
48 +++ Makefile.PL
49 @@ -11,8 +11,8 @@ my $libs = '';
50  
51  unless (conftest("char *x = gettext(\"foo\");", "gettext", 0)) {
52         # try with -lintl
53 -       $libs = "-lintl";
54 -       unless (conftest("char *x = gettext(\"foo\");", "gettext", 0)) {
55 +       $libs = "-L$ENV{LOCALBASE}/lib -lintl -I$ENV{LOCALBASE}/include";
56 +       unless (conftest("#include <libintl.h>\nchar *x = gettext(\"foo\");", "gettext", 0)) {
57                 unlink("conftest.c");
58                 unlink("conftest");
59                 die "gettext function not found. Please install libintl";
60 @@ -33,7 +33,8 @@ unlink("conftest");
61  
62  WriteMakefile(
63      NAME => "Locale::gettext",
64 -    LIBS => ($libs eq '') ? [] : [$libs],
65 +    LIBS => ($libs eq '') ? [] : ["-L$ENV{LOCALBASE}/lib -lintl"],
66 +    INC => "-I$ENV{LOCALBASE}/include",
67      VERSION_FROM => 'gettext.pm', 
68      META_MERGE => {
69          resources => {
70