From: Fabian Groffen Date: Fri, 22 Jan 2016 17:39:48 +0000 (+0100) Subject: dev-util/pkgconfig: add necessary frameworks for Darwin X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=9d803e13a72e78740106d8814645b86ee5977366;p=gentoo.git dev-util/pkgconfig: add necessary frameworks for Darwin Package-Manager: portage-2.2.20-prefix --- diff --git a/dev-util/pkgconfig/pkgconfig-0.29.ebuild b/dev-util/pkgconfig/pkgconfig-0.29.ebuild index 04c55012806c..987e3b7b1ad1 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