commit:     e4eda48d2518cb0dcd80e0593801dad5fd0b0b0c
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Fri May 21 22:30:56 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun May 23 16:53:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4eda48d

dev-games/aseprite: fix building with USE=bundled-libs

Shared libloadpng comes with shared allegro[png]. USE=bundled-libs will
disable allegro dependency, which leads to building error.

Closes: https://bugs.gentoo.org/680060
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20917
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-games/aseprite/aseprite-1.1.9.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-games/aseprite/aseprite-1.1.9.ebuild 
b/dev-games/aseprite/aseprite-1.1.9.ebuild
index b3ab60f8d32..c96e7c87576 100644
--- a/dev-games/aseprite/aseprite-1.1.9.ebuild
+++ b/dev-games/aseprite/aseprite-1.1.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -74,7 +74,7 @@ src_configure() {
                -DUSE_SHARED_FREETYPE=ON
                -DUSE_SHARED_GIFLIB=ON
                -DUSE_SHARED_JPEGLIB=ON
-               -DUSE_SHARED_LIBLOADPNG=ON
+               -DUSE_SHARED_LIBLOADPNG=$(usex !bundled-libs)
                -DUSE_SHARED_LIBPNG=ON
                -DUSE_SHARED_PIXMAN=ON
                -DUSE_SHARED_TINYXML=ON

Reply via email to