Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-Image-Imlib2
0001-Make-Build.PL-compatible-with-Imlib2-v1.7....
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Make-Build.PL-compatible-with-Imlib2-v1.7.5.patch of Package perl-Image-Imlib2
From 319db4d47493f7ef3909efc1b3904c134c90af5e Mon Sep 17 00:00:00 2001 From: Sergei Zhmylev <zhmylove@cpan.org> Date: Mon, 11 Sep 2023 21:29:17 +0300 Subject: [PATCH] Make Build.PL compatible with Imlib2 v1.7.5+ --- Build.PL | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Build.PL b/Build.PL index ab7cd99..de642e1 100644 --- a/Build.PL +++ b/Build.PL @@ -1,10 +1,14 @@ use Module::Build; use strict; -# We need to find imlib2-config -my $CONFIG = "imlib2-config"; +my $CONFIG = "pkg-config imlib2"; my $version = `$CONFIG --version`; +if (!$version) { + # Try deprecated imlib2-config + $CONFIG = "imlib2-config"; + $version = `$CONFIG --version`; +} if (!$version) { warn 'You must install the imlib2 library before you can install Image::Imlib2. You can obtain imlib2 from -- 2.40.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor