mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
sys-fs/davl: respect PKG_CONFIG
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
@@ -24,6 +24,8 @@ PATCHES=(
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
tc-export PKG_CONFIG
|
||||
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
-else
|
||||
- CFLAGS += $(CFLAGS1)
|
||||
-endif
|
||||
+CFLAGS += -D$(GTK_VER) `pkg-config --cflags gtk+-2.0`
|
||||
+LDLIBS = `pkg-config --libs gtk+-2.0`
|
||||
+CFLAGS += -D$(GTK_VER) `${PKG_CONFIG} --cflags gtk+-2.0`
|
||||
+LDLIBS = `${PKG_CONFIG} --libs gtk+-2.0`
|
||||
DEBUG =
|
||||
#DEBUG = -D DEBUG
|
||||
GDAVL = gdavl
|
||||
|
||||
Reference in New Issue
Block a user