diff options
author | jlam <jlam@pkgsrc.org> | 2001-09-14 02:39:07 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-09-14 02:39:07 +0000 |
commit | 5401af423fdc728a43737fd34b75866c53f70494 (patch) | |
tree | 6f454aa23c0714d8151d091fa41e01bce29b137d /databases | |
parent | c17956fcf9668dbaa1041d1235fb1b1411e7cd27 (diff) | |
download | pkgsrc-5401af423fdc728a43737fd34b75866c53f70494.tar.gz |
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/openldap/Makefile | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/databases/openldap/Makefile b/databases/openldap/Makefile index 033b786a67a..ae6d74d820e 100644 --- a/databases/openldap/Makefile +++ b/databases/openldap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2001/06/12 20:33:02 jlam Exp $ +# $NetBSD: Makefile,v 1.25 2001/09/14 02:39:07 jlam Exp $ # DISTNAME= openldap-1.2.12 @@ -13,30 +13,33 @@ COMMENT= Lightweight directory access protocol server and client package # for the moment without threads and thus without slurpd and ldapd #DEPENDS+= ../../devel/mit-pthreads -CONFLICTS+= ldapsdk* +CONFLICTS+= ldapsdk-[0-9]* -USE_LIBTOOL= yes +USE_BUILDLINK_ONLY= YES +USE_LIBTOOL= YES LTCONFIG_OVERRIDE= ${WRKSRC}/build/ltconfig +# unfortunately, --enable-phonetic cannot be disabled by runtime configuration +GNU_CONFIGURE= YES +CONFIGURE_ARGS+= --enable-dns +CONFIGURE_ARGS+= --enable-cldap +CONFIGURE_ARGS+= --enable-passwd +CONFIGURE_ARGS+= --enable-shell + .include "../../mk/bsd.prefs.mk" -# unfortunately, --enable-phonetic cannot be disabled by runtime configuration -GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--enable-dns --enable-cldap --enable-passwd --enable-shell .if ${OPSYS} == "NetBSD" -CONFIGURE_ARGS+= --enable-wrappers +CONFIGURE_ARGS+= --enable-wrappers .endif .if ${OPSYS} == "SunOS" -DEPENDS+= db-2.7.7:../../databases/db -CPPFLAGS+= -I${LOCALBASE}/include/db2 +.include "../../databases/db/buildlink.mk" +CPPFLAGS+= -I${BUILDLINK_DIR}/include/db2 LIBS= -ldb2 -lpthread -lrt .endif -PLIST_SRC= ${WRKDIR}/.PLIST_SRC - -post-build: - ${CAT} ${PKGDIR}/PLIST.common ${PKGDIR}/PLIST.${LOWER_OPSYS} > ${PLIST_SRC} +PLIST_SRC= ${PKGDIR}/PLIST.common +PLIST_SRC+= ${PKGDIR}/PLIST.${LOWER_OPSYS} post-configure: ${ECHO} "SLAPD_LIBS = " >> ${WRKSRC}/servers/slapd/tools/Makefile |