/[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.14 Revision 1.15
1# Copyright 2007-2008 Gentoo Foundation 1# Copyright 2007-2008 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.14 2008/10/04 14:51:02 jmbsvicetto Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.15 2008/10/11 03:05:37 jmbsvicetto 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
386 KDEDIR="/usr" 386 KDEDIR="/usr"
387 KDEDIRS="/usr:/usr/local" 387 KDEDIRS="/usr:/usr/local"
388 ;; 388 ;;
389 esac 389 esac
390 fi 390 fi
391 391
392 if [[ -n ${KDEBASE} ]]; then 392 # Set the prefix based on KDEDIR
393 # Make it a consequence of kdeprefix
393 PREFIX=${KDEDIR} 394 PREFIX=${KDEDIR}
394 else
395 # if PREFIX is not defined we set it to the default value of /usr
396 PREFIX="${PREFIX:-/usr}"
397 fi
398 395
399 unset _kdedir 396 unset _kdedir
400 397
401 case "${EAPI}" in 398 case "${EAPI}" in
402 2 | 2_pre3 | 2_pre2 | 2_pre1) 399 2 | 2_pre3 | 2_pre2 | 2_pre1)

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

  ViewVC Help
Powered by ViewVC 1.1.20