Ticket #36866: clhep_add_dylib.diff
File clhep_add_dylib.diff, 658 bytes (added by mojca (Mojca Miklavec), 12 years ago) |
---|
-
Portfile
6 6 7 7 name clhep 8 8 version 2.1.2.5 9 revision 1 9 10 categories science 10 11 maintainers pd.infn.it:cristiano.fontana 11 12 license LGPL-3 … … 29 30 file mkdir ${configure.dir} 30 31 } 31 32 33 post-destroot { 34 # else Geant4 doesn't find the library 35 # it would be nice to fix this upstream (either in CLHEP or Geant4) 36 system "cd ${destroot}${prefix}/lib && ln -s libCLHEP-${version}.a libCLHEP.a" 37 system "cd ${destroot}${prefix}/lib && ln -s libCLHEP-${version}.dylib libCLHEP.dylib" 38 } 39 32 40 configure.post_args ${worksrcpath} 33 41 34 42 post-build {