pkgsrc-Bugs archive

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

Re: pkg/58668: gettext fails to build if base compiler is clang



The following reply was made to PR pkg/58668; it has been noted by GNATS.

From: Tobias Nygren <tnn%NetBSD.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: devel.v9zjk%slmail.me@localhost
Subject: Re: pkg/58668: gettext fails to build if base compiler is clang
Date: Wed, 11 Sep 2024 12:00:06 +0200

 Hi,
 
 I don't think the patch is is correct. Rather I suspect this is a
 problem due to interaction between pkgsrc and /usr/share/mk on NetBSD.
 
 On a NetBSD system with clang as the base compiler you should explicitly
 set these options in mk.conf:
 
 HAVE_LLVM=yes
 MKLLVM=yes
 MKGCC=no
 
 The last two might be optional but they will be required also for
 rebuilding your userland with ./build.sh so it's best to set them.
 Please let us know if this solves the issue.
 
 -Tobias
 


Home | Main Index | Thread Index | Old Index