From: Enlightenment C. <no...@cv...> - 2007-07-17 08:44:20
|
Enlightenment CVS committal Author : leviathan Project : e17 Module : libs/etk-perl Dir : e17/libs/etk-perl Modified Files: Makefile.PL Log Message: pkg-config patch from Jerome Pinot =================================================================== RCS file: /cvs/e/e17/libs/etk-perl/Makefile.PL,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- Makefile.PL 3 Jul 2007 19:26:05 -0000 1.11 +++ Makefile.PL 17 Jul 2007 08:44:18 -0000 1.12 @@ -4,8 +4,8 @@ # dependency check print "Checking for Etk..."; -my $etklib = `etk-config --version`; -die "I can't run etk-config, make sure that etk is installed, and that etk-config is in your path" unless $etklib; +my $etklib = `pkg-config --variable=version etk`; +die "pkg-config can't find etk, make sure that etk is installed, and that your PKG_CONFIG_PATH is correct" unless $etklib; print "Ok\n"; Devel::PPPort::WriteFile(); @@ -18,9 +18,9 @@ ($] >= 5.005 ? (ABSTRACT => 'Perl bindings for the Enlightened ToolKit (Etk)', AUTHOR => q|Chady 'Leviathan' Kassouf <cha...@gm...>|) : ()), - LIBS => [`etk-config --libs`], + LIBS => [`pkg-config --libs etk`], DEFINE => '', #'-DDEBUG', - INC => "-g -I. `etk-config --cflags`", + INC => "-g -I. `pkg-config --cflags etk`", XSPROTOARG => '-noprototypes', test => {TESTS=>'t/Etk/*.t'}, clean => {FILES=>"ppport.h"}, |