Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report.
Summary: perl-GD build warning perl-GD-2.35-2.fc6.src.rpm
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=245225
jpo@di.uminho.pt changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
------- Additional Comments From jpo@di.uminho.pt 2007-06-21 20:13 EST ------- This patch eliminates the warning (but using File::Spec should provide a better solution):
diff -ruN GD-2.35-orig/Makefile.PL GD-2.35/Makefile.PL --- GD-2.35-orig/Makefile.PL»···2006-08-17 23:10:31.000000000 +0100 +++ GD-2.35/Makefile.PL»2007-06-22 01:07:14.000000000 +0100 @@ -295,6 +295,11 @@ my $problems; foreach (keys %libraries) { s/\blib\b/include/; + # + # The previous statement changes "/usr/lib/" into "/usr/include/" and + # that fails to match the %official_libraries hash "/usr/include" key + # + s//$//; next if $official_libraries{$_}; · next unless -e "${_}/gd.h";