summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2010-02-23 14:50:29 +0000
committerChristian Faulhammer <fauli@gentoo.org>2010-02-23 14:50:29 +0000
commit088cfdd4b4488a48de7e476027321b770e0f8b4e (patch)
tree3a29cba2dfe1beef441e422a8ad84bd25e1cca67 /x11-libs/gtk+
parentFixing doc installation. Slightly hacky, sorry :) (diff)
downloadgentoo-2-088cfdd4b4488a48de7e476027321b770e0f8b4e.tar.gz
gentoo-2-088cfdd4b4488a48de7e476027321b770e0f8b4e.tar.bz2
gentoo-2-088cfdd4b4488a48de7e476027321b770e0f8b4e.zip
Use libresolv from sys-libs/itx-bin on Interix Prefix
(Portage version: 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
}