summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2004-06-03 08:33:40 +0000
committerTavis Ormandy <taviso@gentoo.org>2004-06-03 08:33:40 +0000
commit112e119e2de65a26e2fa42a729d395955ae58edf (patch)
treee80fa413b749ffd4fa5553eb36270a240d8caa6c /media-gfx/optipng
parentchange description, better way of selecting mmx. (diff)
downloadhistorical-112e119e2de65a26e2fa42a729d395955ae58edf.tar.gz
historical-112e119e2de65a26e2fa42a729d395955ae58edf.tar.bz2
historical-112e119e2de65a26e2fa42a729d395955ae58edf.zip
add a warning about ext- use flags
Diffstat (limited to 'media-gfx/optipng')
-rw-r--r--media-gfx/optipng/Manifest3
-rw-r--r--media-gfx/optipng/optipng-0.4.5.ebuild18
2 files changed, 18 insertions, 3 deletions
diff --git a/media-gfx/optipng/Manifest b/media-gfx/optipng/Manifest
index 59b3d77a57e3..9e24c1dc3d99 100644
--- a/media-gfx/optipng/Manifest
+++ b/media-gfx/optipng/Manifest
@@ -1,8 +1,9 @@
MD5 b3baa13bb3accb81ba7461967a9d2e75 optipng-0.4.3-r1.ebuild 1783
MD5 6394bac8d59dd1981322344337db62ef optipng-0.4.3.ebuild 1782
-MD5 e232f65702f4313f2ee92a87530a912d optipng-0.4.5.ebuild 2156
+MD5 0f6c9ffe9c82b5198a23e18b08c5e472 optipng-0.4.5.ebuild 2610
MD5 bcbe33d6c458eb301d5198da310ce44e ChangeLog 1299
MD5 d1fd781dd463a1e5d87df46fad732ec6 metadata.xml 400
+MD5 bf57d5ac98a5d1bbc737a14ac4f71667 .optipng-0.4.5.ebuild.swp 12288
MD5 776935461c2653df2b47f23f7b7c60d7 files/digest-optipng-0.4.3-r1 65
MD5 776935461c2653df2b47f23f7b7c60d7 files/digest-optipng-0.4.3 65
MD5 cbb26191f6029021230a63ee5ac9a062 files/digest-optipng-0.4.5 65
diff --git a/media-gfx/optipng/optipng-0.4.5.ebuild b/media-gfx/optipng/optipng-0.4.5.ebuild
index 7bf25da5eabd..6d05adde573b 100644
--- a/media-gfx/optipng/optipng-0.4.5.ebuild
+++ b/media-gfx/optipng/optipng-0.4.5.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/media-gfx/optipng/optipng-0.4.5.ebuild,v 1.2 2004/06/03 08:25:00 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/optipng-0.4.5.ebuild,v 1.3 2004/06/03 08:33:40 taviso Exp $
inherit eutils flag-o-matic
@@ -46,7 +46,7 @@ src_compile() {
usemmx=0
fi
- # only defined in bundled zlib?
+ # only defined in bundled zlib
if use ext-zlib || use ext-png; then
append-flags -DZ_RLE=3
fi
@@ -85,3 +85,17 @@ src_install() {
dodoc ${S}/doc/{CAVEAT,DESIGN,FEATURES,HISTORY,LICENSE,README,TODO,USAGE}
dohtml ${S}/doc/index.html
}
+
+pkg_postinst() {
+ if use ext-zlib || use ext-png; then
+ ewarn "the ext-zlib and ext-png USE flags are designed for users"
+ ewarn "that require special modifications to libpng or zlib."
+ ewarn
+ ewarn "the bundled libraries are highly optimised specifically"
+ ewarn "for use with compressing png files, and should be used if"
+ ewarn "possible."
+ ewarn
+ ewarn "if you set these flags in error, please unset them and"
+ ewarn "re-merge ${PN}."
+ fi
+}