1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= perl-Locale-gettext
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]
13 SITES[main]= CPAN/ID:P/PV/PVANDRY
14 DISTFILE[1]= gettext-1.07.tar.gz:main
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
24 USES= gettext-runtime gettext-tools
26 DISTNAME= gettext-1.07
30 CONFIGURE_ENV= LOCALBASE={{LOCALBASE}}
34 [PERL_528].USES_ON= perl:528,configure
36 [PERL_530].USES_ON= perl:530,configure
38 [FILE:47:descriptions/desc.single]
39 Perl bindings for POSIX i18n gettext functions
43 909d47954697e7c04218f972915b787bd1244d75e3bd01620bc167d5bbc49c15 8651 gettext-1.07.tar.gz
46 [FILE:856:patches/patch-Makefile.PL]
47 --- Makefile.PL.orig 2015-09-18 17:06:07 UTC
49 @@ -11,8 +11,8 @@ my $libs = '';
51 unless (conftest("char *x = gettext(\"foo\");", "gettext", 0)) {
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)) {
59 die "gettext function not found. Please install libintl";
60 @@ -33,7 +33,8 @@ unlink("conftest");
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',