/[gentoo-x86]/x11-drivers/nvidia-drivers/nvidia-drivers-295.33.ebuild
Gentoo

Diff of /x11-drivers/nvidia-drivers/nvidia-drivers-295.33.ebuild

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

Revision 1.4 Revision 1.5
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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/x11-drivers/nvidia-drivers/Attic/nvidia-drivers-295.33.ebuild,v 1.4 2012/04/06 06:46:14 cardoe Exp $ 3# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/Attic/nvidia-drivers-295.33.ebuild,v 1.5 2012/04/11 17:51:45 cardoe Exp $
4 4
5EAPI="2" 5EAPI="2"
6 6
7inherit eutils unpacker multilib portability versionator linux-mod flag-o-matic nvidia-driver 7inherit eutils unpacker multilib portability versionator linux-mod flag-o-matic nvidia-driver
8 8
286 # Quiet down warnings the user does not need to see 286 # Quiet down warnings the user does not need to see
287 sed -i \ 287 sed -i \
288 -e 's:-Wsign-compare::g' \ 288 -e 's:-Wsign-compare::g' \
289 "${NV_SRC}"/Makefile.kbuild 289 "${NV_SRC}"/Makefile.kbuild
290 290
291 # Fix building with Linux 3.3.x wrt #408841
292 sed -i \
293 -e '/CFLAGS="$CFLAGS/s:-I$SOURCES/arch/x86/include:& -I$OUTPUT/arch/x86/include/generated:' \
294 kernel/conftest.sh || die
295
291 # If you set this then it's your own fault when stuff breaks :) 296 # If you set this then it's your own fault when stuff breaks :)
292 use custom-cflags && sed -i "s:-O:${CFLAGS}:" "${NV_SRC}"/Makefile.* 297 use custom-cflags && sed -i "s:-O:${CFLAGS}:" "${NV_SRC}"/Makefile.*
293 298
294 # If greater than 2.6.5 use M= instead of SUBDIR= 299 # If greater than 2.6.5 use M= instead of SUBDIR=
295 convert_to_m "${NV_SRC}"/Makefile.kbuild 300 convert_to_m "${NV_SRC}"/Makefile.kbuild

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.13