pkgsrc-Users archive

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

Re: lang/compilers support for MacOS



* On 2017-01-13 at 06:30 GMT, Brook Milligan wrote:

> 
> > On Jan 12, 2017, at 2:05 AM, Adam <adam%NetBSD.org@localhost> wrote:
> > 
> > I fixed this in llvm/clang 3.9.1 by adding
> > 
> > CMAKE_ARGS+=    -DCMAKE_LIBTOOL=/usr/bin/libtool
> 
> Thanks a lot for the pointer.  Attached is the patch I made to
> implement this.  My system now builds clang, llvm and libLLVM
> successfully.  Comments?  Shall I apply it?

CMAKE_ARGS is in OPSYSVARS so there's no need to include bsd.prefs.mk
and do the OPSYS check, you can simply use the single line:

  CMAKE_ARGS.Darwin+=	-DCMAKE_LIBTOOL=/usr/bin/libtool

Cheers,

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index