diff options
author | veego <veego@pkgsrc.org> | 2000-05-05 12:08:37 +0000 |
---|---|---|
committer | veego <veego@pkgsrc.org> | 2000-05-05 12:08:37 +0000 |
commit | 8c1ac9e4e0bf3eafd86fcdf55750c44c6a3166cd (patch) | |
tree | 2e0591b4ffda0379bb7f1c545ad781ac1c7431d3 /databases/openldap | |
parent | e4568232c9d8133010982a2c13a59115ff1066eb (diff) | |
download | pkgsrc-8c1ac9e4e0bf3eafd86fcdf55750c44c6a3166cd.tar.gz |
Add support to build it on Solaris.
Diffstat (limited to 'databases/openldap')
-rw-r--r-- | databases/openldap/Makefile | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/databases/openldap/Makefile b/databases/openldap/Makefile index 68d96649208..f9f2c1d5606 100644 --- a/databases/openldap/Makefile +++ b/databases/openldap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 1999/09/17 06:46:31 simonb Exp $ +# $NetBSD: Makefile,v 1.14 2000/05/05 12:08:37 veego Exp $ # DISTNAME= openldap-1.2.7 @@ -18,16 +18,24 @@ CONFLICTS+= ldapsdk* USE_LIBTOOL= yes +.include "../../mk/bsd.prefs.mk" + # unfortunately, --enable-phonetic cannot be disabled by runtime configuration GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--enable-dns --enable-cldap \ - --enable-wrappers --enable-passwd --enable-shell +CONFIGURE_ARGS+=--enable-dns --enable-cldap --enable-passwd --enable-shell +.if ${OPSYS} == "NetBSD" +CONFIGURE_ARGS+= --enable-wrappers +.endif + +.if ${OPSYS} == "SunOS" +DEPENDS+= db-2.7.7:../../databases/db +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include/db2" +CONFIGURE_ENV+= LIBS="-ldb2 -lpthread -lrt" +.endif post-configure: ${ECHO} "SLAPD_LIBS = " >> ${WRKSRC}/servers/slapd/tools/Makefile -.include "../../mk/bsd.prefs.mk" - .if defined(KERBEROS) && ${KERBEROS} == 4 USE_KERBEROS= yes CONFIGURE_ARGS+=--with-kerberos |