From 63f91eab4058ca5fdf66ca0bcffa9cd6cff71f83 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 14 May 2006 13:46:16 +0000 Subject: add examples of how we should be handling IUSE expanded vars Package-Manager: portage-2.1_rc1 --- dev-libs/DirectFB/DirectFB-0.9.25.1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dev-libs/DirectFB/DirectFB-0.9.25.1.ebuild') diff --git a/dev-libs/DirectFB/DirectFB-0.9.25.1.ebuild b/dev-libs/DirectFB/DirectFB-0.9.25.1.ebuild index 48d68e519d49..62fcd9ebc005 100644 --- a/dev-libs/DirectFB/DirectFB-0.9.25.1.ebuild +++ b/dev-libs/DirectFB/DirectFB-0.9.25.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-0.9.25.1.ebuild,v 1.1 2006/05/07 09:46:16 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-0.9.25.1.ebuild,v 1.2 2006/05/14 13:46:16 vapier Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -55,12 +55,14 @@ src_compile() { local vidcards card input inputdrivers for card in ${VIDEO_CARDS} ; do has ${card} ${IUSE_VIDEO_CARDS} && vidcards="${vidcards},${card}" + #use video_cards_${card} && vidcards="${vidcards},${card}" done [[ -z ${vidcards} ]] \ && vidcards="all" \ || vidcards=${vidcards:1} for input in ${INPUT_DRIVERS} ; do has ${input} ${IUSE_INPUT_DRIVERS} && inputdrivers="${inputdrivers},${input}" + #use input_drivers_${input} && inputdrivers="${inputdrivers},${input}" done [[ -z ${inputdrivers} ]] \ && inputdrivers="all" \ -- cgit v1.2.3-65-gdbad