[MacPorts] #43753: gnutls: universal builds fail on ppc or i386

MacPorts noreply at macports.org
Mon May 19 00:59:43 PDT 2014


#43753: gnutls: universal builds fail on ppc or i386
---------------------------------+--------------------------------
 Reporter:  frederic.devernay@…  |      Owner:  macports-tickets@…
     Type:  defect               |     Status:  new
 Priority:  Normal               |  Milestone:
Component:  ports                |    Version:  2.2.1
 Keywords:                       |       Port:  gnutls
---------------------------------+--------------------------------
 When cross-compiling with gnutls, the configure options are a bit special.
 --host must be set to the build host, and --build to the target arch.
 --build alone (as in the current Portfile) is not enough, because
 configure will try to run the generated executables (which fails when
 compiling for i386 on ppc, or for x86_64 on i386 (core duo).

 Another small problem with gnutls's config.h defines symbols that prevent
 some functions in time.h to be defined (::gmtime and ::localtime not
 defined when compiling gnutlsxx.cpp) (patch included: include time.h
 before config.h)

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


More information about the macports-tickets mailing list