summaryrefslogtreecommitdiff
path: root/databases/openldap
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2009-07-21 10:37:11 +0000
committertnn <tnn@pkgsrc.org>2009-07-21 10:37:11 +0000
commit3743c512a5b85458ce5048eb20525e1690212786 (patch)
tree4e2cf460831ee16fa785506c68a7806e54a02f4a /databases/openldap
parentb3f77b5f1d60c18fbec6bd6343c878f229ace2e0 (diff)
downloadpkgsrc-3743c512a5b85458ce5048eb20525e1690212786.tar.gz
Need -D_GNU_SOURCE on Linux for "struct ucred" declaration.
Diffstat (limited to 'databases/openldap')
-rw-r--r--databases/openldap/Makefile.common3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/openldap/Makefile.common b/databases/openldap/Makefile.common
index 7a0d1666c50..9cadbf9fa25 100644
--- a/databases/openldap/Makefile.common
+++ b/databases/openldap/Makefile.common
@@ -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 @@ SUBST_MESSAGE.conflict= Fixing conflicting function prototypes.
.endif
CPPFLAGS.Darwin+= -DBIND_8_COMPAT
+CPPFLAGS.Linux+= -D_GNU_SOURCE
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --localstatedir=${OPENLDAP_VARDIR:Q}