[MacPorts] #36866: clhep: add symlink libCLHEP.dylib, else Geant4 cannot find it

MacPorts noreply at macports.org
Thu Nov 8 11:27:27 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@…):

 This is the temporary (ugly) patch that I came up with, but it makes sense
 to wait for the next release of CLHEP before applying it:
 {{{
 --- Portfile
 +++ Portfile
 @@ -6,6 +6,7 @@

  name                clhep
  version             2.1.2.5
 +revision            1
  categories          science
  maintainers         pd.infn.it:cristiano.fontana
  license             LGPL-3
 @@ -27,6 +28,8 @@

  post-extract {
      file mkdir ${configure.dir}
 +    # this is just a dirty hack that installs symlinks to proper
 location; it should be fixed upstream
 +    reinplace "s|\$ENV\{DESTDIR\}|${destroot}|"
 ${worksrcpath}/cmake/Modules/ClhepBuildLibrary.cmake
  }

  configure.post_args ${worksrcpath}
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/36866#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list