pkgsrc-Bulk archive

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

Re: pkgsrc-current Linux 2.6.26-bpo.2-686/i686 bulk build results 20100221.1315



On Thu, 25 Feb 2010 06:37:24 +0900, Aleksey Cheusov <cheusov%tut.by@localhost> 
wrote:

  devel/glib2                           1503 pkgsrc-users%NetBSD.org@localhost

The following patch solves the problem. Can anybody commit it?
Objections?

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/glib2/Makefile,v
retrieving revision 1.170
diff -u -r1.170 Makefile
--- Makefile    19 Feb 2010 11:44:56 -0000      1.170
+++ Makefile    24 Feb 2010 21:34:44 -0000
@@ -58,6 +58,8 @@
 CPPFLAGS+=             -DPKGLOCALEDIR="\"${PKGLOCALEDIR}\""
 CPPFLAGS+=             -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
+CPPFLAGS.Linux+=       -D_GNU_SOURCE
+
 .if ${OPSYS} == "FreeBSD"
 SUBST_CLASSES+=                thr
 SUBST_STAGE.thr=       post-patch

P.S.
In truth to tell it is not fully correct to change CPPFLAGS for Linux
here. It whould be better to do so for systems based on GNU libc,
e.g. Debian/kFreeBSD and maybe others. Is it possible in pkgsrc?

I can build fine on my SSD/Linux-0.4 (kernel 2.6.16, glibc 2.3.6, gcc 4.1.2).
So I feel it is neither Linux nor GLibc releated general issue.

--
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index