/[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.40 Revision 1.41
1# Copyright 2007-2009 Gentoo Foundation 1# Copyright 2007-2009 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.40 2009/06/04 13:50:10 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.41 2009/06/05 09:48:46 scarabeus 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
424 fi 424 fi
425 break; 425 break;
426 fi 426 fi
427 done 427 done
428 unset slot 428 unset slot
429
430 # Bail out if kdelibs required but not found
431 if [[ ${KDE_REQUIRED} = always ]] || { [[ ${KDE_REQUIRED} = optional ]] && use kde; }; then
429 [[ -z ${KDEDIR} ]] && die "Failed to determine KDEDIR!" 432 [[ -z ${KDEDIR} ]] && die "Failed to determine KDEDIR!"
433 else
434 [[ -z ${KDEDIR} ]] && KDEDIR="${ROOT}usr"
435 fi
436
430 PREFIX="${PREFIX:-${ROOT}usr}" 437 PREFIX="${PREFIX:-${ROOT}usr}"
431 fi 438 fi
432 439
433 # Not needed anymore 440 # Not needed anymore
434 unset _kdedir 441 unset _kdedir

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

  ViewVC Help
Powered by ViewVC 1.1.20