summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2006-02-26 19:06:49 +0000
committerMarkus Dittrich <markusle@gentoo.org>2006-02-26 19:06:49 +0000
commit05dc5f35a24899088ee5fdc3b42d57278d0ddd46 (patch)
treed9fa4defb9a3701351b31fd262ff9126965dbbde /sci-libs/vtk/vtk-4.2.6.ebuild
parentppc stable, bug #124068 (diff)
downloadgentoo-2-05dc5f35a24899088ee5fdc3b42d57278d0ddd46.tar.gz
gentoo-2-05dc5f35a24899088ee5fdc3b42d57278d0ddd46.tar.bz2
gentoo-2-05dc5f35a24899088ee5fdc3b42d57278d0ddd46.zip
Added cmake command line flag to prevent insecure RUNPATHS (c.f. bug #122875).
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'sci-libs/vtk/vtk-4.2.6.ebuild')
-rw-r--r--sci-libs/vtk/vtk-4.2.6.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sci-libs/vtk/vtk-4.2.6.ebuild b/sci-libs/vtk/vtk-4.2.6.ebuild
index 564d6d6d5532..68e899a3d570 100644
--- a/sci-libs/vtk/vtk-4.2.6.ebuild
+++ b/sci-libs/vtk/vtk-4.2.6.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/sci-libs/vtk/vtk-4.2.6.ebuild,v 1.9 2006/01/22 12:44:31 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/vtk/vtk-4.2.6.ebuild,v 1.10 2006/02/26 19:06:49 markusle Exp $
# TODO: need to fix Examples/CMakeLists.txt to build other examples
@@ -51,7 +51,9 @@ src_compile() {
fi
# build list of config variable define's to pass to cmake
- CMAKE_VARIABLES="-DCMAKE_INSTALL_PREFIX:PATH=/usr"
+ local CMAKE_VARIABLES=""
+ CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_SKIP_RPATH:BOOL=YES"
+ CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_INSTALL_PREFIX:PATH=/usr"
CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_SHARED_LIBS:BOOL=ON"
CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_JPEG:BOOL=ON"
CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_PNG:BOOL=ON"