public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in x11-misc/xcb: ChangeLog xcb-2.4.ebuild
@ 2009-05-02 10:10 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; only message in thread
From: Samuli Suominen (ssuominen) @ 2009-05-02 10:10 UTC (permalink / raw
  To: gentoo-commits

ssuominen    09/05/02 10:10:59

  Modified:             ChangeLog xcb-2.4.ebuild
  Log:
  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)

Revision  Changes    Path
1.13                 x11-misc/xcb/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xcb/ChangeLog?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xcb/ChangeLog?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xcb/ChangeLog?r1=1.12&r2=1.13

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-misc/xcb/ChangeLog,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ChangeLog	27 Oct 2006 06:39:11 -0000	1.12
+++ ChangeLog	2 May 2009 10:10:59 -0000	1.13
@@ -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.



1.12                 x11-misc/xcb/xcb-2.4.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xcb/xcb-2.4.ebuild?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xcb/xcb-2.4.ebuild?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xcb/xcb-2.4.ebuild?r1=1.11&r2=1.12

Index: xcb-2.4.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-misc/xcb/xcb-2.4.ebuild,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- xcb-2.4.ebuild	27 Oct 2006 06:39:11 -0000	1.11
+++ xcb-2.4.ebuild	2 May 2009 10:10:59 -0000	1.12
@@ -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 @@
 	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"
 }






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-02 10:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-02 10:10 [gentoo-commits] gentoo-x86 commit in x11-misc/xcb: ChangeLog xcb-2.4.ebuild Samuli Suominen (ssuominen)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox