diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-02 10:10:59 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-02 10:10:59 +0000 |
commit | 7b8ba716a69a7c53df9d821d96c07435cc510800 (patch) | |
tree | c839fecab25678fb29ba92a6846b7a966da1c88b /x11-misc/xcb | |
parent | Version bump. (diff) | |
download | gentoo-2-7b8ba716a69a7c53df9d821d96c07435cc510800.tar.gz gentoo-2-7b8ba716a69a7c53df9d821d96c07435cc510800.tar.bz2 gentoo-2-7b8ba716a69a7c53df9d821d96c07435cc510800.zip |
Install app-defaults to /usr/share instead of /usr/X11R6/lib and tc-export CC.
(Portage version: 2.1.6.11/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/xcb')
-rw-r--r-- | x11-misc/xcb/ChangeLog | 8 | ||||
-rw-r--r-- | x11-misc/xcb/xcb-2.4.ebuild | 29 |
2 files changed, 20 insertions, 17 deletions
diff --git a/x11-misc/xcb/ChangeLog b/x11-misc/xcb/ChangeLog index 06f431fd4b88..fcd9f10ce0b7 100644 --- a/x11-misc/xcb/ChangeLog +++ b/x11-misc/xcb/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-misc/xcb -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xcb/ChangeLog,v 1.12 2006/10/27 06:39:11 omp Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xcb/ChangeLog,v 1.13 2009/05/02 10:10:59 ssuominen Exp $ + + 02 May 2009; Samuli Suominen <ssuominen@gentoo.org> xcb-2.4.ebuild: + Install app-defaults to /usr/share instead of /usr/X11R6/lib and tc-export + CC. 27 Oct 2006; David Shakaryan <omp@gentoo.org> xcb-2.4.ebuild: Minor cleanup and remove monolithic X from dependencies. diff --git a/x11-misc/xcb/xcb-2.4.ebuild b/x11-misc/xcb/xcb-2.4.ebuild index cb6b21a0e66f..9eeabee45195 100644 --- a/x11-misc/xcb/xcb-2.4.ebuild +++ b/x11-misc/xcb/xcb-2.4.ebuild @@ -1,6 +1,9 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xcb/xcb-2.4.ebuild,v 1.11 2006/10/27 06:39:11 omp Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xcb/xcb-2.4.ebuild,v 1.12 2009/05/02 10:10:59 ssuominen Exp $ + +EAPI=2 +inherit toolchain-funcs DESCRIPTION="Marc Lehmann's improved X Cut Buffers" HOMEPAGE="http://www.goof.com/pcg/marc/xcb.html" @@ -19,32 +22,28 @@ DEPEND="${RDEPEND} x11-proto/xproto motif? ( x11-libs/openmotif )" -src_unpack() { - unpack ${A} - cd "${S}" - mv xcb.man xcb.1 -} - src_compile() { local gui libs if use motif; then gui="-DMOTIF" - libs="-L/usr/X11R6/lib -lXm -lXt -lX11" + libs="-lXm -lXt -lX11" else gui="-DATHENA" - libs="-L/usr/X11R6/lib -lXaw -lXt -lXext -lX11" + libs="-lXaw -lXt -lXext -lX11" fi + tc-export CC emake -f Makefile.std xcb Xcb.ad \ - CFLAGS="${CFLAGS} ${gui} -I/usr/X11R6/include" \ + CFLAGS="${CFLAGS} ${gui}" \ GUI="${gui}" \ LIBS="${libs}" \ - || die 'emake failed' + || die "emake failed" } src_install() { - dobin xcb - doman xcb.1 - insinto /usr/X11R6/lib/X11/app-defaults ; newins Xcb.ad Xcb + dobin xcb || die "dobin failed" + newman xcb.man xcb.1 + insinto /usr/share/X11/app-defaults + newins Xcb.ad Xcb || die "newins failed" } |