[perl-Glib] Fix the bootstrapping logic for finding Glib::ParseXSDoc



commit b29822798ed1a811dac01c6a96a1812ec44f0946
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date:   Tue Aug 3 20:00:19 2010 +0200

    Fix the bootstrapping logic for finding Glib::ParseXSDoc
    
    When building Glib, we try to find the Glib::ParseXSDoc in the current
    directory.  This was broken by the recent move of all .pm files into
    lib/.  It caused Glib's build to break if Glib::ParseXSDoc was not
    already installed.
    
    Reported by Thierry Vignaud.

 lib/Glib/MakeHelper.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/Glib/MakeHelper.pm b/lib/Glib/MakeHelper.pm
index 568ef93..3e91a56 100644
--- a/lib/Glib/MakeHelper.pm
+++ b/lib/Glib/MakeHelper.pm
@@ -65,7 +65,7 @@ sub do_pod_files
 	# try to get it from pwd first, then fall back to installed
 	# this is so Glib will get associated copy, and everyone else
 	# should use the installed glib copy
-	eval { require 'ParseXSDoc.pm'; 1; } or require Glib::ParseXSDoc;
+	eval { require 'lib/Glib/ParseXSDoc.pm'; 1; } or require Glib::ParseXSDoc;
 	$@ = undef;
 	import Glib::ParseXSDoc;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]