summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-03-09 18:47:12 +0000
committerMichael Weber <xmw@gentoo.org>2012-03-09 18:47:12 +0000
commit917723432325ab2a6c65081e48a3ccdf8c93b992 (patch)
treec370d5d53a9c15836ee8e0fcda2f405816406099 /media-libs/libXcm
parentRemove pointless no-op find call. Please learn to read comments on bugs first... (diff)
downloadgentoo-2-917723432325ab2a6c65081e48a3ccdf8c93b992.tar.gz
gentoo-2-917723432325ab2a6c65081e48a3ccdf8c93b992.tar.bz2
gentoo-2-917723432325ab2a6c65081e48a3ccdf8c93b992.zip
Work around upstream bug, [-X] does not work.
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libXcm')
-rw-r--r--media-libs/libXcm/ChangeLog5
-rw-r--r--media-libs/libXcm/libXcm-0.5.0.ebuild27
2 files changed, 23 insertions, 9 deletions
diff --git a/media-libs/libXcm/ChangeLog b/media-libs/libXcm/ChangeLog
index 0adfc549df81..8cb2b7e64816 100644
--- a/media-libs/libXcm/ChangeLog
+++ b/media-libs/libXcm/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/libXcm
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libXcm/ChangeLog,v 1.3 2012/03/09 17:51:28 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libXcm/ChangeLog,v 1.4 2012/03/09 18:47:12 xmw Exp $
+
+ 09 Mar 2012; Michael Weber <xmw@gentoo.org> libXcm-0.5.0.ebuild:
+ Work around upstream bug, [-X] does not work.
*libXcm-0.5.0 (09 Mar 2012)
diff --git a/media-libs/libXcm/libXcm-0.5.0.ebuild b/media-libs/libXcm/libXcm-0.5.0.ebuild
index 8c2213ec2124..80b89ae4bbf1 100644
--- a/media-libs/libXcm/libXcm-0.5.0.ebuild
+++ b/media-libs/libXcm/libXcm-0.5.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libXcm/libXcm-0.5.0.ebuild,v 1.1 2012/03/09 17:51:28 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libXcm/libXcm-0.5.0.ebuild,v 1.2 2012/03/09 18:47:12 xmw Exp $
EAPI=4
@@ -17,17 +17,28 @@ IUSE="X doc static-libs"
RDEPEND="X? ( x11-libs/libXmu
x11-libs/libXfixes
- x11-libs/libX11 )"
+ x11-libs/libX11
+ x11-proto/xproto )"
DEPEND="${RDEPEND}
app-doc/doxygen"
+pkg_setup() {
+ if ! use X ; then
+ die "must be build with X support, upstream broken"
+ fi
+}
+
+#src_prepare() {
+# if ! use X ; then
+# sed -e "/HAVE_X11/s:\"#define HAVE_X11 1\"::" \
+# -e "/PKG_CONFIG_PRIVATE_X11/s:xproto x11::" \
+# -i configure
+# fi
+#}
+
src_configure() {
- econf --enable-verbose \
- $(use_enable static-libs static) \
- $(use_enable X libXfixes) \
- $(use_enable X libXmu) \
- $(use_enable X libX11) \
- $(use_with X x)
+ econf --disable-silent-rules \
+ $(use_enable static-libs static)
}
src_install() {