summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHasan Khalil <gongloo@gentoo.org>2005-01-19 04:46:40 +0000
committerHasan Khalil <gongloo@gentoo.org>2005-01-19 04:46:40 +0000
commitace8118ed4f9835ee68ccf61b2142cddce5a2053 (patch)
treeb7d3d1128ba73443873f53b73db9625a54a38d95 /media-libs/libpng/libpng-1.2.8.ebuild
parenthardened-dev-sources-2.6.10-r3 is now in ~x86 and should work with selinux so... (diff)
downloadgentoo-2-ace8118ed4f9835ee68ccf61b2142cddce5a2053.tar.gz
gentoo-2-ace8118ed4f9835ee68ccf61b2142cddce5a2053.tar.bz2
gentoo-2-ace8118ed4f9835ee68ccf61b2142cddce5a2053.zip
Fix for ppc-macos.
Diffstat (limited to 'media-libs/libpng/libpng-1.2.8.ebuild')
-rw-r--r--media-libs/libpng/libpng-1.2.8.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/media-libs/libpng/libpng-1.2.8.ebuild b/media-libs/libpng/libpng-1.2.8.ebuild
index c626d1836046..6e9ed573c448 100644
--- a/media-libs/libpng/libpng-1.2.8.ebuild
+++ b/media-libs/libpng/libpng-1.2.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.8.ebuild,v 1.1 2005/01/03 21:58:47 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.8.ebuild,v 1.2 2005/01/19 04:46:40 gongloo Exp $
inherit flag-o-matic eutils toolchain-funcs
@@ -36,9 +36,9 @@ src_unpack() {
-e '/^prefix=/s:/local::' \
-e '/^MANPATH=/s:/man:/share/man:' \
-e "/^LIBPATH=/s:/lib:/$(get_libdir):" \
- -e '/^OBJSDLL =/s:=:= -lz -lm :' \
-e 's:mkdir:mkdir -p:' \
${makefilein} > Makefile
+ use ppc-macos || sed -i -e '/^OBJSDLL =/s:=:= -lz -lm :' Makefile
}
src_compile() {