pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/drivel Fixed the build on NetBSD by defining _NETB...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/316638e42e3e
branches:  trunk
changeset: 518172:316638e42e3e
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Sep 02 19:23:51 2006 +0000

description:
Fixed the build on NetBSD by defining _NETBSD_SOURCE, which overrides
_XOPEN_SOURCE in some files. The latter definition had hidden the type
definition for fd_set.

diffstat:

 www/drivel/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 8ea69ffb2214 -r 316638e42e3e www/drivel/Makefile
--- a/www/drivel/Makefile       Sat Sep 02 19:22:32 2006 +0000
+++ b/www/drivel/Makefile       Sat Sep 02 19:23:51 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2006/08/06 07:53:36 jmmv Exp $
+# $NetBSD: Makefile,v 1.34 2006/09/02 19:23:51 rillig Exp $
 #
 
 DISTNAME=      drivel-2.0.3
@@ -15,6 +15,8 @@
 USE_TOOLS+=            gmake intltool msgfmt pkg-config
 USE_PKGLOCALEDIR=      YES
 
+CPPFLAGS.NetBSD+=      -D_NETBSD_SOURCE
+
 GCONF2_SCHEMAS=                drivel.schemas
 
 BUILDLINK_API_DEPENDS.curl+=   curl>=7.14.0nb1



Home | Main Index | Thread Index | Old Index