/[gentoo-x86]/dev-libs/glib/glib-2.30.2.ebuild
Gentoo

Diff of /dev-libs/glib/glib-2.30.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 Revision 1.6
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/Attic/glib-2.30.2.ebuild,v 1.5 2011/12/31 21:26:59 tetromino Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/Attic/glib-2.30.2.ebuild,v 1.6 2012/01/11 20:44:17 vapier Exp $
4 4
5EAPI="4" 5EAPI="4"
6PYTHON_DEPEND="utils? 2" 6PYTHON_DEPEND="utils? 2"
7# Avoid runtime dependency on python when USE=test 7# Avoid runtime dependency on python when USE=test
8 8
9inherit autotools gnome.org libtool eutils flag-o-matic multilib pax-utils python virtualx 9inherit autotools gnome.org libtool eutils flag-o-matic multilib pax-utils python toolchain-funcs virtualx
10 10
11DESCRIPTION="The GLib library of C routines" 11DESCRIPTION="The GLib library of C routines"
12HOMEPAGE="http://www.gtk.org/" 12HOMEPAGE="http://www.gtk.org/"
13SRC_URI="${SRC_URI} 13SRC_URI="${SRC_URI}
14 http://pkgconfig.freedesktop.org/releases/pkg-config-0.26.tar.gz" # pkg.m4 for eautoreconf 14 http://pkgconfig.freedesktop.org/releases/pkg-config-0.26.tar.gz" # pkg.m4 for eautoreconf
127 127
128 epunt_cxx 128 epunt_cxx
129} 129}
130 130
131src_configure() { 131src_configure() {
132 # Avoid circular depend with dev-util/pkgconfig 132 # Avoid circular depend with dev-util/pkgconfig and
133 # native builds (cross-compiles won't need pkg-config
134 # in the target ROOT to work here)
133 if ! has_version dev-util/pkgconfig; then 135 if ! tc-is-cross-compiler && ! has_version dev-util/pkgconfig; then
134 if has_version sys-apps/dbus; then 136 if has_version sys-apps/dbus; then
135 export DBUS1_CFLAGS="-I/usr/include/dbus-1.0 -I/usr/$(get_libdir)/dbus-1.0/include" 137 export DBUS1_CFLAGS="-I/usr/include/dbus-1.0 -I/usr/$(get_libdir)/dbus-1.0/include"
136 export DBUS1_LIBS="-ldbus-1" 138 export DBUS1_LIBS="-ldbus-1"
137 fi 139 fi
138 export LIBFFI_CFLAGS="-I$(echo /usr/$(get_libdir)/libffi-*/include)" 140 export LIBFFI_CFLAGS="-I$(echo /usr/$(get_libdir)/libffi-*/include)"

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20