tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/40809 (converters/recode doesn't build on darwin (Mac OS X))



On Fri, 20 Mar 2009 09:44:07 +0100, Edgar Fuß <ef%math.uni-bonn.de@localhost> 
wrote:

> Isn't there a more generic way to fix programs introducing their own
> copy of GNU getopt than
> 
>> +.if ${OPSYS} == "Darwin"
>> +libreco_a_SOURCES = error.c xstrdup.c
>> +.else
>>  libreco_a_SOURCES = error.c getopt.c getopt1.c xstrdup.c
>> +.endif
> 
> ?

Do you mean using autoconf or drop getopt.c getopt1.c on all platform?

> I doubt this is intended:
>> -localedir = $(prefix)/share/locale
>> +localedir = /usr/pkg/share/locale

I just fixed it. Tnank you.

-- Yuji Yamano
Peace, unity, love and having fun!


Home | Main Index | Thread Index | Old Index