pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/openldap Need -D_GNU_SOURCE on Linux for "st...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7d344838a064
branches:  trunk
changeset: 396258:7d344838a064
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Jul 21 10:37:11 2009 +0000

description:
Need -D_GNU_SOURCE on Linux for "struct ucred" declaration.

diffstat:

 databases/openldap/Makefile.common |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r d0750dee6fda -r 7d344838a064 databases/openldap/Makefile.common
--- a/databases/openldap/Makefile.common        Tue Jul 21 09:59:09 2009 +0000
+++ b/databases/openldap/Makefile.common        Tue Jul 21 10:37:11 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.21 2009/04/27 07:15:43 ghen Exp $
+# $NetBSD: Makefile.common,v 1.22 2009/07/21 10:37:11 tnn Exp $
 
 # please stick to the "stable" releases as much as possible!
 DISTNAME=              openldap-2.4.16
@@ -61,6 +61,7 @@
 .endif
 
 CPPFLAGS.Darwin+=      -DBIND_8_COMPAT
+CPPFLAGS.Linux+=       -D_GNU_SOURCE
 
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
 CONFIGURE_ARGS+=       --localstatedir=${OPENLDAP_VARDIR:Q}



Home | Main Index | Thread Index | Old Index