[MacPorts] #58319: geant4.10.5 @4.10.05_0+gdml+qt5+threads: very disordered directories

MacPorts noreply at macports.org
Tue Apr 9 04:51:46 UTC 2019


#58319: geant4.10.5 @4.10.05_0+gdml+qt5+threads: very disordered directories
------------------------+-------------------------
 Reporter:  frankliuao  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.5.4
 Keywords:              |       Port:  geant4.10.5
------------------------+-------------------------
 After installation, sourcing the
 /opt/local/libexec/Geant4/Geant4.10.5/geant4.sh

 won't recognize the folder where Data was installed. This was because the
 data dir was set to
 ${prefix}/share/Geant4/Data/Geant4.${geant.version}

 while the script (auto generated by Geant4) is looking for data in
 $geant4_envbindir/../../../share/Geant4/Data/Geant4.10.5/

 This is a very simple fix: just eliminate using the libexec at all, since
 it's only used for a few setup scripts. They all can be put in the same
 folder as in
 /opt/local/share/Geant4/Geant4.10.5/*sh

 First time making a suggestion on a portfile. Not sure how it works. I can
 make a branch from my side and create a pull request if that's OK, but
 probably the PR is only accepted if it's submitted by the owner of the
 port?

-- 
Ticket URL: <https://trac.macports.org/ticket/58319>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list