[MacPorts] #44485: Compile Error in Open (GNU) Cobol when compiling in OS 10.9 Mavericks ( New Install )
MacPorts
noreply at macports.org
Tue Jul 29 09:09:35 PDT 2014
#44485: Compile Error in Open (GNU) Cobol when compiling in OS 10.9 Mavericks ( New
Install )
----------------------------+--------------------------------
Reporter: gregthrower@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.1
Resolution: | Keywords:
Port: |
----------------------------+--------------------------------
Comment (by egall@…):
This was brought up on the mailing list previously:
[https://lists.macosforge.org/pipermail/macports-
users/2014-May/035518.html] [[BR]]
Because the mailing list archives do not follow threads over month
boundaries, the June portion of it starts here:
[https://lists.macosforge.org/pipermail/macports-
users/2014-June/035556.html]
I am working on fixing this as part of an update of the open-cobol package
to version 2.0, but then I ran into this bug which I filed upstream:
[https://sourceforge.net/p/open-cobol/bugs/73/] (which apparently has
received some comments since I last checked it... but that is something
else)
Anyways, in the meantime, I fix the issue of clang being too strict by
adding this block of code to the open-cobol Portfile:
{{{
# https://lists.macosforge.org/pipermail/macports-
users/2014-May/035518.html
if {[string match *clang* ${configure.compiler}]} {
configure.args-append --disable-rpath
configure.cppflags-append -std=gnu89
pre-configure {
ui_warn "${name} has issues with clang"
}
}
}}}
I am not sure if the `--disable-rpath` flag was around in the current
version or if it was added in the version to which I am updating it
though...
(also, since I am the maintainer of this port, you should have cc-ed me on
it, but as I saw this in time, I will just cc myself. I would appreciate
it if a committer could change that cc to an assignment...)
--
Ticket URL: <https://trac.macports.org/ticket/44485#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list