include Config
-VER = 2.4.32
+VER = 2.3.20
THISAPP = openldap-$(VER)
DL_FILE = $(THISAPP).tgz
DEPS = ""
+export CPPFLAGS = -D_GNU_SOURCE
+
###############################################################################
# Top-level Rules
###############################################################################
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 6a3e85cf61860ca5e8a1eba6753dd9d0
+$(DL_FILE)_MD5 = 49d2c5b9378a7b57e1fb03948acb8e32
install : $(TARGET)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+ cd $(DIR_APP) && patch -Np0 < $(DIR_SRC)/src/patches/openldap-gcc44-fixes.patch
cd $(DIR_APP) && ./configure \
--prefix=/usr \
--libexecdir=/usr/lib \