summaryrefslogtreecommitdiff
path: root/sci-physics/geant-python/files/geant-python-4.10.0-config.patch
blob: 50f4dabb43c368c70eba124d474e521ce867be25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
do not hard code PATH; QGSP.hh is renamed to G4QGSParticipants.hh in geant-4.10

http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1545
http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1546
Index: g4py/configure
===================================================================
--- g4py.orig/configure
+++ g4py/configure
@@ -4,9 +4,6 @@
 # ======================================================================
 export LANG=C
 
-PATH=/bin:/usr/bin
-export PATH
-
 # ======================================================================
 # testing the echo features
 # ======================================================================
@@ -377,7 +374,7 @@ fi
 
 # ---
 echo $ac_n "Checking for physics list support ...$ac_c"
-if [ -f "$g4_incdir"/QGSP.hh ]; then
+if [ -f "$g4_incdir"/G4QGSParticipants.hh ]; then
   enable_physicslist=1
 fi
 if [ $enable_physicslist = 0 ]; then