From 262724ef344e5c17ae2c39fd93dde9b17afa28a8 Mon Sep 17 00:00:00 2001 From: gerald Date: Sun, 4 Jan 2009 19:00:06 +0000 Subject: Add option LDAP, off by default. PR: 119155 --- emulators/wine-devel/Makefile | 8 ++++++++ emulators/wine/Makefile | 8 ++++++++ 2 files changed, 16 insertions(+) (limited to 'emulators') diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile index 9d8fadc7f70f..a1340d34581b 100644 --- a/emulators/wine-devel/Makefile +++ b/emulators/wine-devel/Makefile @@ -44,6 +44,7 @@ PKGMESSAGE= ${WRKDIR}/pkg-message OPTIONS= CUPS "Use CUPS (Common UNIX Printing System)" On \ HAL "Use HAL (Hardware Abstraction Layer)" Off \ + LDAP "Use LDAP" Off \ LIBXSLT "Use libxslt (only used by msxml3.dll)" Off .include @@ -62,6 +63,13 @@ LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal CONFIGURE_ARGS+= --without-hal .endif +.ifdef WITH_LDAP +CONFIGURE_ARGS+= --with-ldap +USE_OPENLDAP= yes +.else +CONFIGURE_ARGS+= --without-ldap +.endif + .ifdef WITH_LIBXSLT CONFIGURE_ARGS+= --with-xslt LIB_DEPENDS+= xslt.2:${PORTSDIR}/textproc/libxslt diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile index 9d8fadc7f70f..a1340d34581b 100644 --- a/emulators/wine/Makefile +++ b/emulators/wine/Makefile @@ -44,6 +44,7 @@ PKGMESSAGE= ${WRKDIR}/pkg-message OPTIONS= CUPS "Use CUPS (Common UNIX Printing System)" On \ HAL "Use HAL (Hardware Abstraction Layer)" Off \ + LDAP "Use LDAP" Off \ LIBXSLT "Use libxslt (only used by msxml3.dll)" Off .include @@ -62,6 +63,13 @@ LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal CONFIGURE_ARGS+= --without-hal .endif +.ifdef WITH_LDAP +CONFIGURE_ARGS+= --with-ldap +USE_OPENLDAP= yes +.else +CONFIGURE_ARGS+= --without-ldap +.endif + .ifdef WITH_LIBXSLT CONFIGURE_ARGS+= --with-xslt LIB_DEPENDS+= xslt.2:${PORTSDIR}/textproc/libxslt -- cgit