From 9d803e13a72e78740106d8814645b86ee5977366 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Fri, 22 Jan 2016 18:39:48 +0100 Subject: [PATCH] dev-util/pkgconfig: add necessary frameworks for Darwin Package-Manager: portage-2.2.20-prefix --- dev-util/pkgconfig/pkgconfig-0.29.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev-util/pkgconfig/pkgconfig-0.29.ebuild b/dev-util/pkgconfig/pkgconfig-0.29.ebuild index 04c55012806c5..987e3b7b1ad16 100644 --- a/dev-util/pkgconfig/pkgconfig-0.29.ebuild +++ b/dev-util/pkgconfig/pkgconfig-0.29.ebuild @@ -63,6 +63,10 @@ multilib_src_configure() { # add the libdir for libtool, otherwise it'll make love with system # installed libiconv append-ldflags "-L${EPREFIX}/usr/$(get_libdir)" + # the glib objects reference symbols from these frameworks, + # not good, esp. since Carbon should be deprecated + [[ ${CHOST} == *-darwin* ]] && \ + append-ldflags -framework CoreFoundation -framework Carbon fi else if ! has_version dev-util/pkgconfig; then