[MacPorts] #38687: ncarg @6.1.2_1 missing ncl executable

MacPorts noreply at macports.org
Wed Jul 31 23:55:19 PDT 2013


#38687: ncarg @6.1.2_1 missing ncl executable
---------------------------+-----------------------
  Reporter:  c.brierley@…  |      Owner:  takeshi@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.1.3
Resolution:                |   Keywords:
      Port:  ncarg         |
---------------------------+-----------------------

Comment (by takeshi@…):

 In r108760, I added a number of patches that enable build with clang when
 +g95 is set. clang requires a return value in non-void functions. In some
 C source files, some functions are defined without type and are meant to
 be void. clang, however, assumes that they are int. nyacc uses this old
 style without explicit function type. If nyacc is not built, ncl cannot be
 built. These patches should not affect +gcc4x.

 With +gcc4x and +accelerate, a mismatch occurred due to additional -ff2c
 flag that implies -fsecond-underscore. As far as I experimented, dotwrp
 does not require -ff2c or other underscore related flags with gfortran.

 I was able to build ncarg with xnu-headers installed.

-- 
Ticket URL: <https://trac.macports.org/ticket/38687#comment:10>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list