[MacPorts] #32424: clhep: outdated (request for 2.1.1.0) & broken on Lion

MacPorts noreply at macports.org
Wed Dec 7 12:22:01 PST 2011


#32424: clhep: outdated (request for 2.1.1.0) & broken on Lion
--------------------------------------------+-------------------------------
 Reporter:  mojca.miklavec.lists@…          |       Owner:  cristiano.fontana@…         
     Type:  defect                          |      Status:  new                         
 Priority:  Normal                          |   Milestone:                              
Component:  ports                           |     Version:  2.0.3                       
 Keywords:  haspatch                        |        Port:  clhep                       
--------------------------------------------+-------------------------------

Comment(by mojca.miklavec.lists@…):

 The following Portfile almost works for me:

 {{{
 PortSystem          1.0
 PortGroup           cmake 1.0
 name                clhep
 version             2.1.1.0
 revision            1
 categories          science
 maintainers         pd.infn.it:cristiano.fontana
 license             public-domain
 description         A Class Library for High Energy Physics
 long_description    A Class Library for High Energy Physics
 homepage            http://www.cern.ch/clhep
 platforms           darwin
 extract.suffix      .tgz
 master_sites        http://proj-clhep.web.cern.ch/proj-
 clhep/DISTRIBUTION/tarFiles/

 checksums           md5 f8acb50a9cdb9ac8937fecfcb741ba10

 # a workaround for out-of-source build; below we need to specify
 '${workpath}/${version}/CLHEP' as source
 worksrcdir          ${version}/build
 post-extract { file mkdir ${worksrcpath} }

 # https://savannah.cern.ch/bugs/?89603
 if {${configure.compiler} == "clang"} {
    configure.compiler llvm-gcc-4.2
 }

 configure.args-append -DCMAKE_BUILD_TYPE:STRING=Release \
                       ${workpath}/${version}/CLHEP

 # for docs also add
 # -Dbuild_docs:BOOL=ON
 }}}

 By almost I mean that something goes wrong at the very end of process.
 Building fails, but if I cd there manually, it builds until the end, but
 then again it doesn't stage.

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


More information about the macports-tickets mailing list