Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/openldap/bin support building without common.c ...



details:   https://anonhg.NetBSD.org/src/rev/d4cbab5fde05
branches:  trunk
changeset: 752830:d4cbab5fde05
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Mar 08 05:23:41 2010 +0000

description:
support building without common.c (for ldapurl)

diffstat:

 external/bsd/openldap/bin/Makefile.inc |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 1dac72fe15ee -r d4cbab5fde05 external/bsd/openldap/bin/Makefile.inc
--- a/external/bsd/openldap/bin/Makefile.inc    Mon Mar 08 05:19:10 2010 +0000
+++ b/external/bsd/openldap/bin/Makefile.inc    Mon Mar 08 05:23:41 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.2 2008/08/13 04:43:26 lukem Exp $
+#      $NetBSD: Makefile.inc,v 1.3 2010/03/08 05:23:41 lukem Exp $
 
 .include "../openldap.mk"
 
@@ -7,7 +7,10 @@
 .PATH: ${LDAP_DISTDIR}/clients/tools
 .PATH: ${LDAP_SRCDIR}/man
 
-SRCS=  ${PROG}.c common.c
+SRCS=  ${PROG}.c
+.if !defined(NO_COMMON_C)
+SRCS+= common.c
+.endif
 
 
 SRCS+= version.c



Home | Main Index | Thread Index | Old Index