[MacPorts] #36866: clhep: add symlink libCLHEP.dylib, else Geant4 cannot find it
MacPorts
noreply at macports.org
Thu Nov 8 19:47:57 PST 2012
#36866: clhep: add symlink libCLHEP.dylib, else Geant4 cannot find it
-------------------------------------+---------------------------------
Reporter: mojca.miklavec.lists@… | Owner: cristiano.fontana@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: clhep |
-------------------------------------+---------------------------------
Comment (by mojca.miklavec.lists@…):
Optionally one might also consider deleting
{{{/opt/local/lib/libCLHEP.dylib}}} and {{{/opt/local/lib/libCLHEP.a}}} in
case they were installed by previous version of CLHEP without belonging to
CLHEP (and keep that patch in the port for a while). So something like:
{{{
# remove in November 2013
pre-activate {
if [file exists ${prefix}/lib/libCLHEP.dylib] {
delete ${prefix}/lib/libCLHEP.dylib
}
if [file exists ${prefix}/lib/libCLHEP.a] {
delete ${prefix}/lib/libCLHEP.a
}
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/36866#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list