summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2016-01-13 15:07:20 -0200
committerGuilherme Amadio <amadio@gentoo.org>2016-01-13 15:40:42 -0200
commitc91eed68bc313c17f51477bcc428bceaa18717b9 (patch)
treeda3b130ee27e7ad03f6bbd3e9b2a78a0dee717eb /sci-physics/geant/files
parentapp-text/recode: add -std=gnu89 to CFLAGS to restore pre-GCC5 semantics (diff)
downloadgentoo-c91eed68bc313c17f51477bcc428bceaa18717b9.tar.gz
gentoo-c91eed68bc313c17f51477bcc428bceaa18717b9.tar.bz2
gentoo-c91eed68bc313c17f51477bcc428bceaa18717b9.zip
sci-physics/geant: update no-examples patch (bug #571754)
Package-Manager: portage-2.2.26
Diffstat (limited to 'sci-physics/geant/files')
-rw-r--r--sci-physics/geant/files/geant-4.10.2-no-examples.patch18
1 files changed, 18 insertions, 0 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)