summaryrefslogtreecommitdiff
path: root/sci-physics/geant/files/geant-4.10.0-no-examples.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-physics/geant/files/geant-4.10.0-no-examples.patch')
-rw-r--r--sci-physics/geant/files/geant-4.10.0-no-examples.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/sci-physics/geant/files/geant-4.10.0-no-examples.patch b/sci-physics/geant/files/geant-4.10.0-no-examples.patch
new file mode 100644
index 000000000000..99aaca546f49
--- /dev/null
+++ b/sci-physics/geant/files/geant-4.10.0-no-examples.patch
@@ -0,0 +1,22 @@
+do not install examples automatically, we do this explictly with dodoc.
+
+Index: geant4.10.00/CMakeLists.txt
+===================================================================
+--- geant4.10.00.orig/CMakeLists.txt
++++ geant4.10.00/CMakeLists.txt
+@@ -136,15 +136,6 @@ if(GEANT4_BUILD_EXAMPLES)
+ 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
+- )
+-
+-
+ #-----------------------------------------------------------------------------
+ # Provide packaging with CPack.
+ include(Geant4CPackBase)