/[gentoo-x86]/sys-libs/zlib/zlib-1.2.3-r1.ebuild
Gentoo

Diff of /sys-libs/zlib/zlib-1.2.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.13 Revision 1.14
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/zlib-1.2.3-r1.ebuild,v 1.13 2008/05/02 04:13:33 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/zlib-1.2.3-r1.ebuild,v 1.14 2009/10/10 17:01:04 vapier Exp $
4 4
5inherit eutils flag-o-matic toolchain-funcs 5inherit eutils flag-o-matic toolchain-funcs
6 6
7DESCRIPTION="Standard (de)compression library" 7DESCRIPTION="Standard (de)compression library"
8HOMEPAGE="http://www.zlib.net/" 8HOMEPAGE="http://www.zlib.net/"
25 epatch "${FILESDIR}"/${PN}-1.2.1-build-fPIC.patch 25 epatch "${FILESDIR}"/${PN}-1.2.1-build-fPIC.patch
26 epatch "${FILESDIR}"/${PN}-1.2.1-configure.patch #55434 26 epatch "${FILESDIR}"/${PN}-1.2.1-configure.patch #55434
27 epatch "${FILESDIR}"/${PN}-1.2.1-fPIC.patch 27 epatch "${FILESDIR}"/${PN}-1.2.1-fPIC.patch
28 epatch "${FILESDIR}"/${PN}-1.2.3-r1-bsd-soname.patch #123571 28 epatch "${FILESDIR}"/${PN}-1.2.3-r1-bsd-soname.patch #123571
29 epatch "${FILESDIR}"/${PN}-1.2.3-LDFLAGS.patch #126718 29 epatch "${FILESDIR}"/${PN}-1.2.3-LDFLAGS.patch #126718
30 epatch "${FILESDIR}"/${PN}-1.2.3-mingw-implib.patch #288212
30 sed -i -e '/ldconfig/d' Makefile* 31 sed -i -e '/ldconfig/d' Makefile*
31} 32}
32 33
33src_compile() { 34src_compile() {
34 tc-export AR CC RANLIB 35 tc-export AR CC RANLIB
60 61
61 # all the shared libs go into /lib 62 # all the shared libs go into /lib
62 # for NFS based /usr 63 # for NFS based /usr
63 case ${CHOST} in 64 case ${CHOST} in
64 *-mingw*|mingw*) 65 *-mingw*|mingw*)
66 dobin zlib1.dll || die
65 dolib zlib1.dll libzdll.a || die 67 dolib libz.dll.a || die
66 ;; 68 ;;
67 *) 69 *)
68 into / 70 into /
69 dolib libz.so.${PV} 71 dolib libz.so.${PV}
70 ( cd "${D}"/$(get_libdir) ; chmod 755 libz.so.* ) 72 ( cd "${D}"/$(get_libdir) ; chmod 755 libz.so.* )

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.20