[MacPorts] #43253: universal build in nettle assumes Intel build platform

MacPorts noreply at macports.org
Sun Apr 6 05:39:22 PDT 2014


#43253: universal build in nettle assumes Intel build platform
-----------------------+--------------------------------
 Reporter:  t.tensi@…  |      Owner:  macports-tickets@…
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.2.1
 Keywords:             |       Port:  nettle
-----------------------+--------------------------------
 Dear all,

 there is a problem with the current nettle portfile 2.7.1: when
 building universal it blindly assumes an Intel machine as the host.  I
 have run it on a PowerPC Mac and here the line
 {{{
     set merger_configure_args(i386)
 --build=i686-apple-${os.platform}${os.major}
 }}}
 does of course pose problems (I have attached a portfile that does a case
 distinction).

 I would also recommend to introduce a temporary variable like
 {{{
 set suffix apple-${os.platform}${os.major}
 }}}
 that may be used to simplify the file significantly.

 I am not sure whether all the build and host settings in the portfile are
 already
 covered by the muniversal group in the header and the general mechanisms
 of MacPorts.
 So maybe those lines are completely obsolete.

 Best regards,

 Thomas

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


More information about the macports-tickets mailing list