[Bug 245225] perl-GD build warning perl-GD-2.35-2.fc6.src.rpm

bugzilla at redhat.com bugzilla at redhat.com
Fri Jun 22 00:13:16 UTC 2007


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 at di.uminho.pt changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Additional Comments From jpo at 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";

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the Fedora-perl-devel-list mailing list