Subject: Re: creating a package
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 09/13/2005 20:52:28
On Tue, 13 Sep 2005, Steven M. Bellovin wrote:
> The original Makefile has USE_GNU_GETTEXT set to "yes" (and a
> buildlink3.mk file for gettext-lib). Is this necessary? It compiles
> and runs on 2.0 and -current without it.
I am pretty sure that USE_GNU_GETTEXT is not used anymore. I don't think
you need it. I only see graphics/gpaint in pkgsrc using that.
> The source uses autoconf, so GNU_CONFIGURE is set. Grepping, I see
> that intltool is used in autogen.sh; libtool appears there, and in
> depcomp and src/Makefile. Do I need to follow the instructions in
> pkgsrc.txt for these, or are those for programs that don't use
> autoconf?
Yes, if it uses those tools then follow the pkgsrc.txt.
> What is BUILD_USES_MSGFMT?
It means the package needs msgfmt(1) as a built-time dependency. It is
provided by gettext.
> During link time, I see the following messages:
>
> /usr/pkgsrc/audio/gtkpod/work/.buildlink/lib/libgtk-x11-2.0.so: warning: warning: reference to compatibility __stat13(); include <sys/stat.h> to generate correct reference
> /usr/pkgsrc/audio/gtkpod/work/.buildlink/lib/libgtk-x11-2.0.so: warning: warning: reference to compatibility __fstat13(); include <sys/stat.h> to generate correct reference
> /usr/pkgsrc/audio/gtkpod/work/.buildlink/lib/libgtk-x11-2.0.so: warning: warning: reference to compatibility __lstat13(); include <sys/stat.h> to generate correct reference
This is from NetBSD's libc -- src/lib/libc/compat/sys/compat___stat13.c.
I don't know if the problem is in the gtk2+ package or in the gtkpod
though. Maybe gtk2+ needs to be rebuilt since your last
NetBSD-current update?
Jeremy C. Reed
technical support & remote administration
http://www.pugetsoundtechnology.com/