aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-physics/geant4/files/geant-4.9.1_p01-no-source.patch')
-rw-r--r--sci-physics/geant4/files/geant-4.9.1_p01-no-source.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/sci-physics/geant4/files/geant-4.9.1_p01-no-source.patch b/sci-physics/geant4/files/geant-4.9.1_p01-no-source.patch
new file mode 100644
index 000000000..8ca619e88
--- /dev/null
+++ b/sci-physics/geant4/files/geant-4.9.1_p01-no-source.patch
@@ -0,0 +1,38 @@
+--- config/scripts/move.sh.SH.orig 2008-04-08 16:08:16.817366051 +0000
++++ config/scripts/move.sh.SH 2008-04-08 19:05:44.332687325 +0000
+@@ -445,33 +445,8 @@
+ cd $g4install
+ #echo `pwd`
+
+-
+-# Remove 'verbosity' in 'tar' command
+-# If not INCLUDE then install full tree in 'src' directory!
+-#
+-if [ X$g4includes_flag = Xn ] ; then
+-if [ X$g4install != X$g4final_install ] ; then
+-echo ""
+-echo "Installing sources and headers..."
+-echo ""
+-mkdir -p $g4final_install/src/geant4/
+-tar cf - Configure config/ source/ environments/ examples/ include/ |(cd $g4final_install/src/geant4/; tar xf -)
+-fi
+-fi
+-
+-########################################
+-# There is no env!
+-if [ X$g4includes_flag = Xy ] ; then
+-
+-if [ X$g4install != X$g4final_install ] ; then
+-echo ""
+-echo "Installing sources..."
+-echo ""
+-
+-mkdir -p $g4final_install/src/geant4/
+-tar cf - Configure config/ source/ environments/ examples/ |(cd $g4final_install/src/geant4/; tar xf -)
+-fi
+-
++# Remove all the stuff to not install sources
++#
+ echo ""
+ echo "Installing headers..."
+ echo ""