Gentoo Archives: gentoo-devhelp

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-devhelp@l.g.o
Subject: [gentoo-devhelp] Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS?
Date: Tue, 17 May 2011 07:19:10
Message-Id: iqt7ga$gpk$
In Reply to: Re: [gentoo-devhelp] Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS? by Peter Volkov
On 05/17/2011 09:45 AM, Peter Volkov wrote:
> В Втр, 17/05/2011 в 08:23 +0300, Nikos Chantziaras пишет: >> Unfortunately, it didn't help. Tried both "${D}" as well as "${D}"/usr: >> >> scons: *** Path for option install_path does not exist: >> /var/tmp/portage/dev-util/gpuocelot-9999/image > > Please, post full ebuild.
# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=3 inherit subversion flag-o-matic scons-utils toolchain-funcs DESCRIPTION="A dynamic compilation framework for PTX" HOMEPAGE="" SRC_URI="" ESVN_REPO_URI="" KEYWORDS="" LICENSE="BSD" SLOT="0" DEPEND=">=dev-libs/boost-1.45.0 dev-util/nvidia-cuda-toolkit media-libs/glew" RDEPEND="${DEPEND}" src_compile() { tc-export CC CXX escons install_path="${D}"/usr test_level=none || die } src_install() { escons install_path="${D}"/usr test_level=none install || die }