/[gentoo-x86]/eclass/qt4-r2.eclass
Gentoo

Diff of /eclass/qt4-r2.eclass

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

Revision 1.1 Revision 1.2
1# Copyright 2009 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/qt4-r2.eclass,v 1.1 2009/12/15 16:32:43 ayoy Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-r2.eclass,v 1.2 2010/01/14 21:25:17 abcd Exp $
4 4
5# @ECLASS: qt4-r2.eclass 5# @ECLASS: qt4-r2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Ben de Groot <yngwin@gentoo.org>, 7# Ben de Groot <yngwin@gentoo.org>,
8# Markos Chandras <hwoarang@gentoo.org>, 8# Markos Chandras <hwoarang@gentoo.org>,
240 eerror "An error occurred while processing ${file}" 240 eerror "An error occurred while processing ${file}"
241 die "eqmake4 failed to process '${file}'" 241 die "eqmake4 failed to process '${file}'"
242 fi 242 fi
243 done < <(find . -type f -name "*.pr[io]" -printf '%P\n' 2>/dev/null) 243 done < <(find . -type f -name "*.pr[io]" -printf '%P\n' 2>/dev/null)
244 244
245 [[ ${EAPI} == 2 ]] && use !prefix && EPREFIX=
246
245 /usr/bin/qmake -makefile -nocache \ 247 "${EPREFIX}"/usr/bin/qmake -makefile -nocache \
246 QTDIR=/usr/$(get_libdir) \ 248 QTDIR="${EPREFIX}"/usr/$(get_libdir) \
247 QMAKE=/usr/bin/qmake \ 249 QMAKE="${EPREFIX}"/usr/bin/qmake \
248 QMAKE_CC=$(tc-getCC) \ 250 QMAKE_CC=$(tc-getCC) \
249 QMAKE_CXX=$(tc-getCXX) \ 251 QMAKE_CXX=$(tc-getCXX) \
250 QMAKE_LINK=$(tc-getCXX) \ 252 QMAKE_LINK=$(tc-getCXX) \
251 QMAKE_CFLAGS_RELEASE="${CFLAGS}" \ 253 QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
252 QMAKE_CFLAGS_DEBUG="${CFLAGS}" \ 254 QMAKE_CFLAGS_DEBUG="${CFLAGS}" \

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20