mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-puzzle/zaz: call pkg-config via toolchain-funcs.eclass helper
This ensures we call the correct pkg-config in e.g. cross. Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit autotools flag-o-matic xdg
|
||||
|
||||
inherit autotools flag-o-matic xdg toolchain-funcs
|
||||
|
||||
DESCRIPTION="A puzzle game where the player has to arrange balls in triplets"
|
||||
HOMEPAGE="https://sourceforge.net/projects/zaz/"
|
||||
@@ -39,8 +40,8 @@ src_prepare() {
|
||||
|
||||
src_configure() {
|
||||
append-libs -lvorbis
|
||||
append-cflags $(pkg-config sdl --cflags)
|
||||
append-cxxflags $(pkg-config sdl --cflags)
|
||||
append-cflags $($(tc-getPKG_CONFIG) sdl --cflags)
|
||||
append-cxxflags $($(tc-getPKG_CONFIG) sdl --cflags)
|
||||
econf \
|
||||
--with-applicationdir=/usr/share/applications \
|
||||
--with-icondir=/usr/share/pixmaps \
|
||||
|
||||
Reference in New Issue
Block a user