diff options
author | Markus Dittrich <markusle@gentoo.org> | 2006-03-27 16:37:41 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2006-03-27 16:37:41 +0000 |
commit | 85e3227938711c5c334d5b5f55209d0faf556b80 (patch) | |
tree | 55ae39d1fad6ba184eb9d8e4e37c7217b90f3c65 /sci-libs | |
parent | bump the bugger (diff) | |
download | gentoo-2-85e3227938711c5c334d5b5f55209d0faf556b80.tar.gz gentoo-2-85e3227938711c5c334d5b5f55209d0faf556b80.tar.bz2 gentoo-2-85e3227938711c5c334d5b5f55209d0faf556b80.zip |
Added proper JAVA_AWT_LIBRARY cmake variable for amd64 platform.
(Portage version: 2.1_pre7-r1)
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/vtk/ChangeLog | 7 | ||||
-rw-r--r-- | sci-libs/vtk/Manifest | 12 | ||||
-rw-r--r-- | sci-libs/vtk/vtk-5.0.0.ebuild | 9 |
3 files changed, 19 insertions, 9 deletions
diff --git a/sci-libs/vtk/ChangeLog b/sci-libs/vtk/ChangeLog index e82de9f78ca6..6f164a302697 100644 --- a/sci-libs/vtk/ChangeLog +++ b/sci-libs/vtk/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-libs/vtk # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/vtk/ChangeLog,v 1.13 2006/03/26 19:59:09 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/vtk/ChangeLog,v 1.14 2006/03/27 16:37:41 markusle Exp $ + + 27 Mar 2006; Markus Dittrich <markusle@gentoo.org> vtk-5.0.0.ebuild: + Added proper JAVA_AWT_LIBRARY cmake variable for amd64 platform. + Thanks to Sebastiaan <s.breedveld@erasmusmc.nl> for pointing this + out (c.f. bug #123178). 26 Mar 2006; Markus Dittrich <markusle@gentoo.org> +files/vtk-qt3-qt4-gentoo.patch, vtk-5.0.0.ebuild: diff --git a/sci-libs/vtk/Manifest b/sci-libs/vtk/Manifest index 4f460880d595..41db4ee4be4f 100644 --- a/sci-libs/vtk/Manifest +++ b/sci-libs/vtk/Manifest @@ -1,6 +1,6 @@ -MD5 ec280c3c3c051cf94e4393dc8d207f46 ChangeLog 2427 -RMD160 535f4c3d5a3a0cb43028c7ec22eeb4e66f72b624 ChangeLog 2427 -SHA256 e6d66711f21981d550dc5b64af3e8856c5060edf60ad32f9e5c4fd5899669b54 ChangeLog 2427 +MD5 e4ee5294f614497daae9d22f139d2877 ChangeLog 2660 +RMD160 bdddcfb7e581bf8bbf4062c4a6dab014ea553433 ChangeLog 2660 +SHA256 aa455d99b2ae2d9b6e8b98f5bda6d0419d6b41871f1ee94a9623476005edf794 ChangeLog 2660 MD5 86f6e1d7f2496767255664ba61932a73 files/digest-vtk-4.2.6 759 RMD160 0879e3bfe67d7d6b36190d07c36078b2dcff84a7 files/digest-vtk-4.2.6 759 SHA256 0a311502f00b1cba50cdadff5a55d329ec6fe99441e6360b6e45b580e6fc4d5d files/digest-vtk-4.2.6 759 @@ -19,6 +19,6 @@ SHA256 131c089c8a699c3fb7e8b914f68af259e0b0ad341fba3a8f87827871fc7be701 metadata MD5 748f5f3854a501ae6f6e0169dbd5dbde vtk-4.2.6.ebuild 5768 RMD160 96a37816b7b28dd87abc6389608b47e9a6a6c477 vtk-4.2.6.ebuild 5768 SHA256 c0b6175c198c86d93fd34a4b01bfe0ab0af8efbe8884e740c389f861f836447f vtk-4.2.6.ebuild 5768 -MD5 5c457694d009301e9a1d350d7253d1e8 vtk-5.0.0.ebuild 7732 -RMD160 95723780b716b33e3d513980a7b74e94b0f92160 vtk-5.0.0.ebuild 7732 -SHA256 100d124ff5c6ef96c8e24ec1c1c04c4ab4a6158577a5b6272d70a6c82c0b2524 vtk-5.0.0.ebuild 7732 +MD5 9dcea9b16a1afdcbc7be3cf69c1aa2d6 vtk-5.0.0.ebuild 7890 +RMD160 29a2029df0417370544426fb5728a81aa25d08da vtk-5.0.0.ebuild 7890 +SHA256 292e21e2f630c93586578971374dfe6db390622e82464739e0a53fa41778b084 vtk-5.0.0.ebuild 7890 diff --git a/sci-libs/vtk/vtk-5.0.0.ebuild b/sci-libs/vtk/vtk-5.0.0.ebuild index b3ab96b978ad..9fffc9f48e0f 100644 --- a/sci-libs/vtk/vtk-5.0.0.ebuild +++ b/sci-libs/vtk/vtk-5.0.0.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-5.0.0.ebuild,v 1.3 2006/03/26 19:59:09 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/vtk/vtk-5.0.0.ebuild,v 1.4 2006/03/27 16:37:41 markusle Exp $ # TODO: need to fix Examples/CMakeLists.txt to build other examples @@ -76,11 +76,16 @@ src_compile() { use examples && CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_DATA_ROOT:PATH=/usr/share/${PN}/data -DBUILD_EXAMPLES:BOOL=ON" if use java; then CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_WRAP_JAVA:BOOL=ON" - CMAKE_VARIABLES="${CMAKE_VARIABLES} -DJAVA_AWT_LIBRARY:PATH=`java-config -O`/jre/lib/i386/libjawt.so" CMAKE_VARIABLES="${CMAKE_VARIABLES} -DJAVA_AWT_INCLUDE_PATH:PATH=`java-config -O`/include" CMAKE_VARIABLES="${CMAKE_VARIABLES} -DJAVA_INCLUDE_PATH:PATH=`java-config -O`/include" CMAKE_VARIABLES="${CMAKE_VARIABLES} -DJAVA_INCLUDE_PATH2:PATH=`java-config -O`/include/linux" + if [ "${ARCH}" == "amd64" ]; then + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DJAVA_AWT_LIBRARY:PATH=`java-config -O`/jre/lib/${ARCH}/libjawt.so" + else + CMAKE_VARIABLES="${CMAKE_VARIABLES} -DJAVA_AWT_LIBRARY:PATH=`java-config -O`/jre/lib/i386/libjawt.so" + fi fi + if use mpi; then CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_MPI:BOOL=ON" use !threads && CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_PARALLEL:BOOL=ON" |