diff options
author | tnn <tnn@pkgsrc.org> | 2009-07-21 10:37:11 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2009-07-21 10:37:11 +0000 |
commit | 3743c512a5b85458ce5048eb20525e1690212786 (patch) | |
tree | 4e2cf460831ee16fa785506c68a7806e54a02f4a /databases/openldap | |
parent | b3f77b5f1d60c18fbec6bd6343c878f229ace2e0 (diff) | |
download | pkgsrc-3743c512a5b85458ce5048eb20525e1690212786.tar.gz |
Need -D_GNU_SOURCE on Linux for "struct ucred" declaration.
Diffstat (limited to 'databases/openldap')
-rw-r--r-- | databases/openldap/Makefile.common | 3 |
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} |