From be8871cb0bc73157fdccaf1c5e379dd5afdb6a9e Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Fri, 19 Feb 2010 04:11:47 +0000 Subject: [PATCH] bahamut: Don't use hosts zlib SVN-Revision: 19729 --- net/bahamut/Makefile | 1 + net/bahamut/patches/010-dont-use-host-zlib.patch | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 net/bahamut/patches/010-dont-use-host-zlib.patch diff --git a/net/bahamut/Makefile b/net/bahamut/Makefile index 43954c92c..5092463c5 100644 --- a/net/bahamut/Makefile +++ b/net/bahamut/Makefile @@ -34,6 +34,7 @@ define Build/Configure --with-openssl="$(STAGING_DIR)/usr/lib" \ ,\ ac_cv_func_dn_skipname=yes \ + ZLIB_HOME="$(STAGING_DIR)/usr" \ ) endef diff --git a/net/bahamut/patches/010-dont-use-host-zlib.patch b/net/bahamut/patches/010-dont-use-host-zlib.patch new file mode 100644 index 000000000..ef8029ce5 --- /dev/null +++ b/net/bahamut/patches/010-dont-use-host-zlib.patch @@ -0,0 +1,16 @@ +diff --git a/configure b/configure +index 4ef7659..c774c65 100755 +--- a/configure ++++ b/configure +@@ -8009,11 +8009,6 @@ fi + # zlib test + # ripped from http://autoconf-archive.cryp.to/check_zlib.html + # +-ZLIB_HOME=/usr/local +-if test ! -f "${ZLIB_HOME}/include/zlib.h" +-then +- ZLIB_HOME=/usr +-fi + if test -n "${ZLIB_HOME}" + then + ZLIB_OLD_LDFLAGS=$LDFLAGS -- 2.30.2