From a0cb47437d273603f4ee47b775a3f1d7376884a3 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 31 Oct 2010 01:24:45 +0200 Subject: [PATCH] zlib: recompile with -fPIC, bumprev. --- srcpkgs/zlib/template | 2 ++ srcpkgs/zlib/zlib-devel.template | 2 ++ 2 files changed, 4 insertions(+) diff --git a/srcpkgs/zlib/template b/srcpkgs/zlib/template index febf920389..74cc65acef 100644 --- a/srcpkgs/zlib/template +++ b/srcpkgs/zlib/template @@ -1,12 +1,14 @@ # Template build file for 'zlib' pkgname=zlib version=1.2.5 +revision=1 distfiles="http://www.zlib.net/$pkgname-$version.tar.bz2" build_style=configure configure_args="--prefix=/usr --shared" if [ "${xbps_machine}" = "x86_64" ]; then configure_args="${configure_args} --64" fi +make_build_args="CFLAGS=-fPIC" make_install_args="LDCONFIG=" short_desc="A compression/decompression Library" maintainer="Juan RP " diff --git a/srcpkgs/zlib/zlib-devel.template b/srcpkgs/zlib/zlib-devel.template index 84ee4ed021..01173f96bb 100644 --- a/srcpkgs/zlib/zlib-devel.template +++ b/srcpkgs/zlib/zlib-devel.template @@ -5,6 +5,8 @@ long_desc="${long_desc} This package contains files for development, headers, static libs, etc." +revision=1 + Add_dependency run glibc-devel Add_dependency run zlib