/[gentoo-x86]/eclass/xorg-2.eclass
Gentoo

Diff of /eclass/xorg-2.eclass

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

Revision 1.15 Revision 1.16
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 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/xorg-2.eclass,v 1.15 2010/10/28 11:43:33 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.16 2010/10/28 11:46:32 scarabeus Exp $
4# 4#
5# @ECLASS: xorg-2.eclass 5# @ECLASS: xorg-2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# x11@gentoo.org 7# x11@gentoo.org
8# @BLURB: Reduces code duplication in the modularized X11 ebuilds. 8# @BLURB: Reduces code duplication in the modularized X11 ebuilds.
256 # Win32 require special define 256 # Win32 require special define
257 [[ ${CHOST} == *-winnt* ]] && append-cppflags -DWIN32 -D__STDC__ 257 [[ ${CHOST} == *-winnt* ]] && append-cppflags -DWIN32 -D__STDC__
258 # hardened ldflags 258 # hardened ldflags
259 [[ ${PN} = xorg-server || -n ${DRIVER} ]] && append-ldflags -Wl,-z,lazy 259 [[ ${PN} = xorg-server || -n ${DRIVER} ]] && append-ldflags -Wl,-z,lazy
260 260
261 # Quite few packages fail on runtime without these: 261 # Quite few libraries fail on runtime without these:
262 if has static-libs ${IUSE//+}; then
262 filter-flags -Wl,-Bdirect 263 filter-flags -Wl,-Bdirect
263 filter-ldflags -Bdirect 264 filter-ldflags -Bdirect
264 filter-ldflags -Wl,-Bdirect 265 filter-ldflags -Wl,-Bdirect
266 fi
265} 267}
266 268
267# @FUNCTION: xorg-2_src_configure 269# @FUNCTION: xorg-2_src_configure
268# @DESCRIPTION: 270# @DESCRIPTION:
269# Perform any necessary pre-configuration steps, then run configure 271# Perform any necessary pre-configuration steps, then run configure

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.20