aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.sh5
-rw-r--r--dist/install.diff16
2 files changed, 1 insertions, 20 deletions
diff --git a/configure.sh b/configure.sh
index 3d01c8d..3202d02 100644
--- a/configure.sh
+++ b/configure.sh
@@ -136,13 +136,10 @@ then
echo "zlib: Unpacking archive..."
pushd ${BUILD_DIR}
${TAR?} xzf ${SRCDIR}/dist/${NAME}.tar.gz
- #${PATCH?} -p0 < ${SRCDIR}/dist/install.diff
echo "zlib: Configuring..."
cd ${NAME}
- # Guess whether Cactus uses static linking, and if so, build
- # only static libraries
- ./configure --prefix=${ZLIB_DIR} $(if echo '' ${LDFLAGS} | grep -q static; then echo '' '--static'; fi)
+ ./configure --prefix=${ZLIB_DIR} --static
echo "zlib: Building..."
${MAKE}
diff --git a/dist/install.diff b/dist/install.diff
deleted file mode 100644
index f8e4951..0000000
--- a/dist/install.diff
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -ru zlib-1.2.5.orig/Makefile.in zlib-1.2.5/Makefile.in
---- zlib-1.2.5.orig/Makefile.in 2010-04-20 00:12:21.000000000 -0400
-+++ zlib-1.2.5/Makefile.in 2011-01-01 19:43:38.000000000 -0500
-@@ -167,9 +167,9 @@
- -@if [ ! -d $(DESTDIR)$(sharedlibdir) ]; then mkdir -p $(DESTDIR)$(sharedlibdir); fi
- -@if [ ! -d $(DESTDIR)$(man3dir) ]; then mkdir -p $(DESTDIR)$(man3dir); fi
- -@if [ ! -d $(DESTDIR)$(pkgconfigdir) ]; then mkdir -p $(DESTDIR)$(pkgconfigdir); fi
-- cp $(STATICLIB) $(DESTDIR)$(libdir)
-- cp $(SHAREDLIBV) $(DESTDIR)$(sharedlibdir)
-- cd $(DESTDIR)$(libdir); chmod u=rw,go=r $(STATICLIB)
-+ -cp $(STATICLIB) $(DESTDIR)$(libdir)
-+ -cp $(SHAREDLIBV) $(DESTDIR)$(sharedlibdir)
-+ -cd $(DESTDIR)$(libdir); chmod u=rw,go=r $(STATICLIB)
- -@(cd $(DESTDIR)$(libdir); $(RANLIB) libz.a || true) >/dev/null 2>&1
- -@cd $(DESTDIR)$(sharedlibdir); if test "$(SHAREDLIBV)" -a -f $(SHAREDLIBV); then \
- chmod 755 $(SHAREDLIBV); \