Subject: | Does not build with libgdome2 > 0.7.1 |
The following patch allows newer versions of libgdome to be detected (latest is 0.8.1)
--- Makefile.PL.org 2002-04-20 20:50:47.000000000 -0500
+++ Makefile.PL 2016-07-07 09:29:40.822067573 -0500
@@ -17,7 +17,9 @@
print "running gdome-config... ";
my $ver = backtick('gdome-config --version');
my ($major, $minor, $point) = $ver =~ /(\d+).(\d+)\.(\d+)/g;
- die "VERSION" unless $major == 0 && $minor == 7 && $point == 1;
+ die "VERSION"
+ unless $major == 0 && $minor == 7 && $point >= 1
+ or $major == 0 && $minor > 7;
$config{LIBS} ||= backtick('gdome-config --libs');
$config{INC} ||= backtick('gdome-config --cflags');
print "ok\n";