Commit b87c9bc0 authored by Marco Mariani's avatar Marco Mariani

use ncurses from buildout (for mysql)

parent f7f755c9
......@@ -51,7 +51,16 @@ build:
$(MAC_TARGET) CFLAGS="-g -O3 $(PLAT_CFLAGS)" CXXFLAGS="-g -O3 $(PLAT_CXX_FLAGS) -felide-constructors -fno-exceptions -fno-rtti" \
$(LDFLAGS) \
CPPFLAGS="-I$(ZIMBRA_HOME)/openssl-$(OPENSSL_VERSION)/include" \
/usr/bin/cmake . -DCMAKE_SKIP_BUILD_RPATH=FALSE -DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE -DCMAKE_INSTALL_RPATH="$(ZIMBRA_HOME)/openssl-$(OPENSSL_VERSION)/lib" -DCMAKE_PREFIX_PATH=$(ZIMBRA_HOME)/openssl-$(OPENSSL_VERSION) -DWITH_SSL=system -DCMAKE_INSTALL_PREFIX=$(ZIMBRA_HOME)/mysql-$(MYSQL_VERSION) -DENABLED_PROFILING=on -DWITH_READLINE=TRUE; \
/usr/bin/cmake . -DCMAKE_SKIP_BUILD_RPATH=FALSE -DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE \
-DCMAKE_INSTALL_RPATH="$(ZIMBRA_HOME)/openssl-$(OPENSSL_VERSION)/lib" \
-DCMAKE_PREFIX_PATH=$(ZIMBRA_HOME)/openssl-$(OPENSSL_VERSION):$(NCURSES_PREFIX) \
-DCMAKE_C_FLAGS="-I$(NCURSES_PREFIX)/include" \
-DCMAKE_CXX_FLAGS="-I$(NCURSES_PREFIX)/include" \
-DCURSES_LIBRARY=$(NCURSES_PREFIX)/lib/libncurses.so \
-DCURSES_INCLUDE_PATH=$(NCURSES_PREFIX)/include \
-DWITH_SSL=system \
-DCMAKE_INSTALL_PREFIX=$(ZIMBRA_HOME)/mysql-$(MYSQL_VERSION) \
-DENABLED_PROFILING=on -DWITH_READLINE=TRUE; \
LD_RUN_PATH=$(OPENSSL_LIB_DIR) $(MAKE) $(MAKEARGS); \
$(MAKE) install)
(cd $(ZIMBRA_HOME); rm -f mysql; ln -s mysql-$(MYSQL_VERSION) mysql)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment