Subject: Re: CVS commit: pkgsrc/x11/controlcenter
To: None <tech-pkg@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 06/08/2004 10:56:31
On Tue, 8 Jun 2004, Jan Schaumann wrote:

> Log Message:
> Short: make this compile on Linux
>
> Long:
> Some OS have libintl functionality in libc, so we do not necessarily
> have to link against (a possibly non-existent) -lintl.  For now, only
> deal with Linux -- those who know for a fact which OS also behave
> this way should adjust/add.

Maybe instead of checking the OPSYS, it could check USE_BUILTIN.gettext.
(Maybe that won't work.)

Or just set INTLLIBS to BUILDLINK_LDADD.gettext.

Thanks for working on this. This is part of my PR #23369: various gnome
packages build fails due to -lintl.
http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=23369



 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links
	  	 	 http://www.bsdnewsletter.com/