diff options
Diffstat (limited to 'sci-physics/geant')
-rw-r--r-- | sci-physics/geant/files/geant-4.10.2-no-examples.patch | 18 | ||||
-rw-r--r-- | sci-physics/geant/geant-4.10.02.ebuild | 2 |
2 files changed, 19 insertions, 1 deletions
diff --git a/sci-physics/geant/files/geant-4.10.2-no-examples.patch b/sci-physics/geant/files/geant-4.10.2-no-examples.patch new file mode 100644 index 000000000000..767547896c99 --- /dev/null +++ b/sci-physics/geant/files/geant-4.10.2-no-examples.patch @@ -0,0 +1,18 @@ +diff -ur geant4.10.02.orig/CMakeLists.txt geant4.10.02/CMakeLists.txt +--- geant4.10.02.orig/CMakeLists.txt 2016-01-13 15:00:07.009259839 -0200 ++++ geant4.10.02/CMakeLists.txt 2016-01-13 15:01:00.369257669 -0200 +@@ -134,14 +134,6 @@ + add_subdirectory(examples) + endif() + +-# - Install example code to datarootdir +-install(DIRECTORY examples +- DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/Geant4-${Geant4_VERSION} +- COMPONENT Examples +- PATTERN "CVS" EXCLUDE +- PATTERN ".svn" EXCLUDE +- ) +- + #----------------------------------------------------------------------- + # - CPack-aging + include(Geant4CPackBase) diff --git a/sci-physics/geant/geant-4.10.02.ebuild b/sci-physics/geant/geant-4.10.02.ebuild index 58e0a762ee22..5dd41eeef36a 100644 --- a/sci-physics/geant/geant-4.10.02.ebuild +++ b/sci-physics/geant/geant-4.10.02.ebuild @@ -41,7 +41,7 @@ PDEPEND=" S="${WORKDIR}/${MYP}" src_prepare() { - use examples || epatch "${FILESDIR}"/${PN}-4.10.0-no-examples.patch + use examples || epatch "${FILESDIR}"/${PN}-${PV1}.${PV2}.${SPV3}-no-examples.patch } src_configure() { |