[MacPorts] #32424: clhep: outdated (request for 2.1.1.0) & broken on Lion
MacPorts
noreply at macports.org
Mon Dec 5 16:56:08 PST 2011
#32424: clhep: outdated (request for 2.1.1.0) & broken on Lion
--------------------------------------------+-------------------------------
Reporter: mojca.miklavec.lists@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: clhep
--------------------------------------------+-------------------------------
The package clhep seems to be really painful to build
(CXX=/absolute/path/to/g++ fails, no matter what compiler is being used,
but it works out of the box when no environmental variables for compiler
are set, that is, outside of MacPorts).
The following modifications worked for me (leaving original patch intact):
{{{
name clhep
version 2.1.1.0
...
checksums md5 f8acb50a9cdb9ac8937fecfcb741ba10
...
# this should be conditional
configure.compiler gcc-4.2
# I'm not sure if this is absolutely needed/respected at all
build.args-append CC=gcc CXX=g++ CPP=g++
}}}
however work should be done by someone with enough knowledge to fix the
original package. (On the other hand geant4 9.5 now includes clhep.)
--
Ticket URL: <https://trac.macports.org/ticket/32424>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list