summaryrefslogtreecommitdiff
path: root/package/openldap
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-24 14:59:22 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-24 14:59:22 +0200
commitd1ee3be7f4b966174d673876f961b44e37b4c85a (patch)
treed1dca9d3273dcf9eae0a72355b101bce1f1c9060 /package/openldap
parentf082cffba0eac8316ec58164ee215e75c8a364ed (diff)
add host build infrastructure; convert file, ncurses, glib and ruby to it. remove unneeded hacks for openldap and mesalib
Diffstat (limited to 'package/openldap')
-rw-r--r--package/openldap/Makefile26
1 files changed, 4 insertions, 22 deletions
diff --git a/package/openldap/Makefile b/package/openldap/Makefile
index 64cf8b108..1e45c66f8 100644
--- a/package/openldap/Makefile
+++ b/package/openldap/Makefile
@@ -4,9 +4,9 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= openldap
-PKG_VERSION:= 2.4.26
-PKG_RELEASE:= 2
-PKG_MD5SUM:= f36f3086031dd56ae94f722ffae8df5e
+PKG_VERSION:= 2.4.36
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 744701405d396b1fb9de6cb7a453c6e9
PKG_DESCR:= OpenLDAP client libraries
PKG_SECTION:= libs
PKG_DEPENDS:= libopenssl libsasl2 libdb libpthread libuuid
@@ -40,7 +40,7 @@ $(eval $(call PKG_template,LIBOPENLDAP,libopenldap,${PKG_VERSION}-${PKG_RELEASE}
$(eval $(call PKG_template,OPENLDAP_UTILS,openldap-utils,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_OPENLDAP_UTILS},${PKGSD_OPENLDAP_UTILS},${PKGSC_OPENLDAP_UTILS}))
$(eval $(call PKG_template,OPENLDAP_SLAPD,openldap-slapd,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_OPENLDAP_SLAPD},${PKGSD_OPENLDAP_SLAPD},${PKGSC_OPENLDAP_SLAPD}))
-PKG_CONFIGURE_OPTIONS+= --enable-slapd \
+CONFIGURE_ARGS+= --enable-slapd \
--libexecdir=/usr/sbin \
--enable-bdb \
--disable-hdb \
@@ -62,26 +62,8 @@ CONFIGURE_ARGS+= --disable-ipv6
endif
CONFIGURE_ENV+= ac_cv_func_memcmp_working=yes
-CONFIGURE_ARGS+= ${PKG_CONFIGURE_OPTIONS}
XAKE_FLAGS+= STRIP="" CPPFLAGS="-D_GNU_SOURCE"
-pre-configure:
- (cd ${WRKBUILD}; rm -rf config.{cache,status} ; \
- CPPFLAGS=-D_GNU_SOURCE ./configure \
- ${PKG_CONFIGURE_OPTIONS} \
- --disable-slapd \
- --without-cyrus-sasl \
- --without-threads \
- --without-tls \
- );
- ${MAKE} -C ${WRKBUILD} depend
- ${MAKE} -C ${WRKBUILD}/libraries/liblutil
- ${MAKE} -C ${WRKBUILD}/libraries/liblber
- ${MAKE} -C ${WRKBUILD}/libraries/liblunicode
- ${MAKE} -C ${WRKBUILD}/libraries/liblber clean
- ${MAKE} -C ${WRKBUILD}/libraries/liblutil clean
- ${MAKE} -C ${WRKBUILD}/libraries/liblunicode clean
-
libopenldap-install:
${INSTALL_DIR} ${IDIR_LIBOPENLDAP}/etc/openldap
${CP} ${WRKINST}/etc/openldap/ldap.conf \