/[gentoo-x86]/eclass/kde4-base.eclass
Gentoo

Diff of /eclass/kde4-base.eclass

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

Revision 1.139 Revision 1.140
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 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/kde4-base.eclass,v 1.139 2014/07/16 17:18:32 johu Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.140 2014/08/10 22:40:21 johu Exp $
4 4
5# @ECLASS: kde4-base.eclass 5# @ECLASS: kde4-base.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# kde@gentoo.org 7# kde@gentoo.org
8# @BLURB: This eclass provides functions for kde 4.X ebuilds 8# @BLURB: This eclass provides functions for kde 4.X ebuilds
601 # In theory should be in pkg_pretend but we check it only for kdelibs there 601 # In theory should be in pkg_pretend but we check it only for kdelibs there
602 # and for others we do just quick scan in pkg_setup because pkg_pretend 602 # and for others we do just quick scan in pkg_setup because pkg_pretend
603 # executions consume quite some time. 603 # executions consume quite some time.
604 if [[ ${MERGE_TYPE} != binary ]]; then 604 if [[ ${MERGE_TYPE} != binary ]]; then
605 [[ $(gcc-major-version) -lt 4 ]] || \ 605 [[ $(gcc-major-version) -lt 4 ]] || \
606 ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 3 ]] ) \ 606 ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 6 ]] ) \
607 && die "Sorry, but gcc-4.3 and earlier wont work for KDE (see bug 354837)." 607 && die "Sorry, but gcc-4.6 and earlier wont work for some KDE packages."
608 fi 608 fi
609 609
610 KDEDIR=/usr 610 KDEDIR=/usr
611 : ${PREFIX:=/usr} 611 : ${PREFIX:=/usr}
612 EKDEDIR=${EPREFIX}/usr 612 EKDEDIR=${EPREFIX}/usr

Legend:
Removed from v.1.139  
changed lines
  Added in v.1.140

  ViewVC Help
Powered by ViewVC 1.1.20