summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2010-02-23 14:52:38 +0000
committerChristian Faulhammer <fauli@gentoo.org>2010-02-23 14:52:38 +0000
commitbbc02a1c6abea12533d5bad074d0c452deb2d6c9 (patch)
tree0ad60b923c3812d3d087fbbc5b2e126aa5107f36 /x11-libs/gtk+
parentMarked ppc/ppc64 stable for bug #273358. (diff)
downloadhistorical-bbc02a1c6abea12533d5bad074d0c452deb2d6c9.tar.gz
historical-bbc02a1c6abea12533d5bad074d0c452deb2d6c9.tar.bz2
historical-bbc02a1c6abea12533d5bad074d0c452deb2d6c9.zip
Use libresolv from sys-libs/itx-bin on Interix Prefix
Package-Manager: portage-2.1.7.17/cvs/Linux i686
Diffstat (limited to 'x11-libs/gtk+')
-rw-r--r--x11-libs/gtk+/ChangeLog5
-rw-r--r--x11-libs/gtk+/gtk+-2.18.7.ebuild12
2 files changed, 15 insertions, 2 deletions
diff --git a/x11-libs/gtk+/ChangeLog b/x11-libs/gtk+/ChangeLog
index 14a0a6a0073c..9d6380da5e16 100644
--- a/x11-libs/gtk+/ChangeLog
+++ b/x11-libs/gtk+/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-libs/gtk+
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.442 2010/02/23 09:22:26 mrpouet Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.443 2010/02/23 14:50:29 fauli Exp $
+
+ 23 Feb 2010; Christian Faulhammer <fauli@gentoo.org> gtk+-2.18.7.ebuild:
+ Use libresolv from sys-libs/itx-bin on Interix Prefix
*gtk+-2.18.7 (23 Feb 2010)
diff --git a/x11-libs/gtk+/gtk+-2.18.7.ebuild b/x11-libs/gtk+/gtk+-2.18.7.ebuild
index 6b11d7b90c96..434905cd2f41 100644
--- a/x11-libs/gtk+/gtk+-2.18.7.ebuild
+++ b/x11-libs/gtk+/gtk+-2.18.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.18.7.ebuild,v 1.1 2010/02/23 09:22:26 mrpouet Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-2.18.7.ebuild,v 1.2 2010/02/23 14:50:29 fauli Exp $
EAPI="2"
@@ -52,6 +52,9 @@ DEPEND="${RDEPEND}
x11-proto/inputproto
x11-proto/damageproto
)
+ x86-interix? (
+ sys-libs/itx-bind
+ )
xinerama? ( x11-proto/xineramaproto )
>=dev-util/gtk-doc-am-1.11
doc? (
@@ -94,6 +97,13 @@ src_prepare() {
-i gtk/tests/testing.c || die "sed 1 failed"
sed '\%/recent-manager/add%,/recent_manager_purge/ d' \
-i gtk/tests/recentmanager.c || die "sed 2 failed"
+
+ if use x86-interix; then
+ # activate the itx-bind package...
+ append-flags "-I${EPREFIX}/usr/include/bind"
+ append-ldflags "-L${EPREFIX}/usr/lib/bind"
+ fi
+
elibtoolize
}