head 1.2; access; symbols OPENPKG_E1_MP_HEAD:1.2 OPENPKG_E1_MP:1.2 OPENPKG_E1_MP_2_STABLE:1.2 OPENPKG_E1_FP:1.2 OPENPKG_2_STABLE_MP:1.2 OPENPKG_2_STABLE_20061018:1.2 OPENPKG_2_STABLE_20060622:1.2 OPENPKG_2_STABLE:1.2.0.6 OPENPKG_2_STABLE_BP:1.2 OPENPKG_2_5_RELEASE:1.2 OPENPKG_2_5_SOLID:1.2.0.4 OPENPKG_2_5_SOLID_BP:1.2 OPENPKG_2_4_RELEASE:1.2 OPENPKG_2_4_SOLID:1.2.0.2 OPENPKG_2_4_SOLID_BP:1.2 OPENPKG_CW_FP:1.1 OPENPKG_2_3_RELEASE:1.1 OPENPKG_2_3_SOLID:1.1.0.2 OPENPKG_2_3_SOLID_BP:1.1; locks; strict; comment @# @; 1.2 date 2005.06.02.08.06.09; author rse; state Exp; branches; next 1.1; 1.1 date 2005.02.06.12.31.33; author rse; state Exp; branches; next ; desc @@ 1.2 log @modifying package: perl-locale-5.8.6 20050519 -> 20050602 @ text @Index: gettext-1.05/Makefile.PL --- gettext-1.05/Makefile.PL.orig 2005-01-31 00:30:22 +0100 +++ gettext-1.05/Makefile.PL 2005-02-06 13:09:56 +0100 @@@@ -7,6 +7,7 @@@@ } else { $cc = $Config{'cc'}; } +my $incs = ''; my $libs = ''; unless (conftest("char *x = gettext(\"foo\");", "gettext", 0)) { @@@@ -33,6 +34,7 @@@@ WriteMakefile( NAME => "Locale::gettext", + INC => ($inc eq '') ? "" : "$incs", LIBS => ($libs eq '') ? [] : [$libs], VERSION_FROM => 'gettext.pm', ); @@@@ -50,7 +52,7 @@@@ close TEST; open(SAVE, ">&STDERR"); open(STDERR, ">/dev/null"); - system($cc . " -o conftest " . $libs . " conftest.c"); + system("$cc $incs -o conftest conftest.c $libs"); my $exitstatus = $?; open(STDERR, ">&SAVE"); if ($exitstatus != 0) { @ 1.1 log @fix building of gettext module @ text @d1 3 a3 3 Index: gettext-1.04/Makefile.PL --- gettext-1.04/Makefile.PL.orig 2005-01-31 00:30:22 +0100 +++ gettext-1.04/Makefile.PL 2005-02-06 13:09:56 +0100 @