The default value of configure.ld_archflags is '-arch
${configure.build_arch}' provided the selected compiler supports -arch.
So ‘-arch ${configure.ld_archflags}’ expands to e.g. ‘-arch -arch
x86_64’. Don't do that. :)

You can easily find out the value of any variable in a portfile by
adding a line like:

puts "somevar = ${somevar}"

(Just run something like 'port info' to trigger it.)

- Josh

On 2018-11-19 09:34 , Mark Brethen wrote:
> This port does not have a configure phase and I set 'universal no’ It
> errors with ‘-arch ${configure.ld_archflags}’. How is this variable set? 
> 
> 
> Mark Brethen
> [email protected] <mailto:[email protected]>
> 
> 
> 
>> On Nov 18, 2018, at 4:16 PM, Joshua Root <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>> configure.ld_archflags
> 

Reply via email to