summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-05-02 18:48:04 +0000
committerMike Frysinger <vapier@gentoo.org>2004-05-02 18:48:04 +0000
commita9d0093dac49cfba12a3eca15cf2d6160ffadcf2 (patch)
treed2fb4c1852c0afabff5283d1880147d529bcad4a /sys-libs
parentInitial import, bug #48790. (diff)
downloadhistorical-a9d0093dac49cfba12a3eca15cf2d6160ffadcf2.tar.gz
historical-a9d0093dac49cfba12a3eca15cf2d6160ffadcf2.tar.bz2
historical-a9d0093dac49cfba12a3eca15cf2d6160ffadcf2.zip
no docs if USE=build
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/zlib/ChangeLog5
-rw-r--r--sys-libs/zlib/zlib-1.2.1-r2.ebuild16
2 files changed, 13 insertions, 8 deletions
diff --git a/sys-libs/zlib/ChangeLog b/sys-libs/zlib/ChangeLog
index 2f7d0e4a9ae6..02333f0f5f3d 100644
--- a/sys-libs/zlib/ChangeLog
+++ b/sys-libs/zlib/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for sys-libs/zlib
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/ChangeLog,v 1.21 2003/12/23 10:57:13 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/ChangeLog,v 1.22 2004/05/02 18:48:04 vapier Exp $
*zlib-1.2.1-r2 (23 Dec 2003)
+ 02 May 2004; Mike Frysinger <vapier@gentoo.org> :
+ Don't install doc/man pages if build is in USE.
+
23 Dec 2003; Robin H. Johnson <robbat2@gentoo.org> zlib-1.2.1-r2.ebuild:
fix bug #36333.
diff --git a/sys-libs/zlib/zlib-1.2.1-r2.ebuild b/sys-libs/zlib/zlib-1.2.1-r2.ebuild
index 1cae60d33777..95344ed7b86b 100644
--- a/sys-libs/zlib/zlib-1.2.1-r2.ebuild
+++ b/sys-libs/zlib/zlib-1.2.1-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/zlib-1.2.1-r2.ebuild,v 1.5 2004/04/24 08:02:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/zlib-1.2.1-r2.ebuild,v 1.6 2004/05/02 18:48:04 vapier Exp $
inherit eutils flag-o-matic
@@ -10,8 +10,8 @@ SRC_URI="http://www.gzip.org/zlib/${P}.tar.bz2"
LICENSE="ZLIB"
SLOT="0"
-KEYWORDS="~x86 ~ppc ~ppc64 ~sparc ~mips ~alpha arm ~hppa amd64 ~ia64 s390"
-IUSE=""
+KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha arm hppa amd64 ~ia64 ~ppc64 s390"
+IUSE="build"
DEPEND="virtual/glibc"
@@ -44,10 +44,12 @@ src_install() {
insinto /usr/include
doins zconf.h zlib.h
- doman zlib.3
- dodoc FAQ README ChangeLog
- docinto txt
- dodoc algorithm.txt
+ if ! use build ; then
+ doman zlib.3
+ dodoc FAQ README ChangeLog
+ docinto txt
+ dodoc algorithm.txt
+ fi
# we don't need the static lib in /lib
# as it's only for compiling against