/[gentoo-x86]/eclass/x-modular.eclass
Gentoo

Diff of /eclass/x-modular.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.101 Revision 1.103
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.101 2008/06/13 16:40:21 dberkholz Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.103 2008/11/26 23:13:24 dberkholz Exp $
4# 4#
5# @ECLASS: x-modular.eclass 5# @ECLASS: x-modular.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Donnie Berkholz <dberkholz@gentoo.org>, x11@gentoo.org 7# Donnie Berkholz <dberkholz@gentoo.org>, x11@gentoo.org
8# @BLURB: Reduces code duplication in the modularized X11 ebuilds. 8# @BLURB: Reduces code duplication in the modularized X11 ebuilds.
193 # (#120057) Enabling DRI in drivers requires that the server was built with 193 # (#120057) Enabling DRI in drivers requires that the server was built with
194 # support for it 194 # support for it
195 if [[ -n "${DRIVER}" ]]; then 195 if [[ -n "${DRIVER}" ]]; then
196 if has dri ${IUSE} && use dri; then 196 if has dri ${IUSE} && use dri; then
197 einfo "Checking for direct rendering capabilities ..." 197 einfo "Checking for direct rendering capabilities ..."
198 if ! built_with_use x11-base/xorg-server dri; then 198 if ! built_with_use --missing true x11-base/xorg-server dri; then
199 die "You must build x11-base/xorg-server with USE=dri." 199 die "You must build x11-base/xorg-server with USE=dri."
200 fi 200 fi
201 fi 201 fi
202 fi 202 fi
203} 203}
393# Creates a ChangeLog from git if using live ebuilds. 393# Creates a ChangeLog from git if using live ebuilds.
394x-modular_src_install() { 394x-modular_src_install() {
395 # Install everything to ${XDIR} 395 # Install everything to ${XDIR}
396 make \ 396 make \
397 DESTDIR="${D}" \ 397 DESTDIR="${D}" \
398 install 398 install \
399 || die
399# Shouldn't be necessary in XDIR=/usr 400# Shouldn't be necessary in XDIR=/usr
400# einstall forces datadir, so we need to re-force it 401# einstall forces datadir, so we need to re-force it
401# datadir=${XDIR}/share \ 402# datadir=${XDIR}/share \
402# mandir=${XDIR}/share/man \ 403# mandir=${XDIR}/share/man \
403 404

Legend:
Removed from v.1.101  
changed lines
  Added in v.1.103

  ViewVC Help
Powered by ViewVC 1.1.20