From d03c14d1f2d190d7c04e85b1bdb199107daf3a84 Mon Sep 17 00:00:00 2001 From: Seemant Kulleen Date: Sat, 21 Dec 2002 21:58:33 +0000 Subject: enhanced libpng depend, and added system expat support --- x11-base/xfree/xfree-4.2.99.3.ebuild | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'x11-base') diff --git a/x11-base/xfree/xfree-4.2.99.3.ebuild b/x11-base/xfree/xfree-4.2.99.3.ebuild index 223e430f3ed7..54d16a42bd46 100644 --- a/x11-base/xfree/xfree-4.2.99.3.ebuild +++ b/x11-base/xfree/xfree-4.2.99.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/xfree-4.2.99.3.ebuild,v 1.16 2002/12/21 21:13:00 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/xfree-4.2.99.3.ebuild,v 1.17 2002/12/21 21:58:33 seemant Exp $ IUSE="nls 3dfx pam truetype 3dnow sse mmx" @@ -60,12 +60,13 @@ KEYWORDS="~x86 ~sparc ~ppc ~alpha ~mips" DEPEND=">=sys-libs/ncurses-5.1 pam? ( >=sys-libs/pam-0.75 ) - >=sys-libs/zlib-1.1.4 sys-devel/flex sys-devel/libtool sys-devel/perl + dev-libs/expat >=media-libs/freetype-${FT2_VER}-r2 x11-base/opengl-update + >=media-libs/libpng-1.2.5-r1 truetype? ( x11-misc/ttmkfdir app-arch/cabextract )" @@ -162,7 +163,7 @@ src_unpack () { do if [ -f ${DISTDIR}/${x} ] then - einfo " ${s/\. \/}..." + einfo " ${x/\. \/}..." cabextract --lowercase ${DISTDIR}/${x} > /dev/null || die fi done @@ -177,6 +178,7 @@ src_unpack () { >> config/cf/host.def echo "#define OptimizedCDebugFlags ${CFLAGS}" >> config/cf/host.def echo "#define GccWarningOptions -pipe" >> config/cf/host.def + echo "#define HasExpat YES" >> config/cf/host.def if [ "`gcc-version`" != "2.95" ] then @@ -239,7 +241,7 @@ src_unpack () { eend 0 # Not included anymore -- obsolete - rm -f ${S}/doc/hardcopy/{XIE,PEX5} +# rm -f ${S}/doc/hardcopy/{XIE,PEX5} for x in ${S}/programs/Xserver/hw/xfree86/{XF98Conf.cpp,XF98Config} do if [ -f ${x} ] @@ -259,15 +261,15 @@ src_unpack () { > ${S}/programs/Xserver/Imakefile # LibPNG fixes - cd ${S} - cp xmakefile xmakefile.orig - sed "s:-lpng:-lpng -lz -lm:" \ - xmakefile.orig > xmakefile - - cd ${S}/config/cf - cp X11.tmpl X11.tmpl.orig - sed "s:-lpng:-lpng -lz -lm:" \ - X11.tmpl.orig > X11.tmpl +# cd ${S} +# cp xmakefile xmakefile.orig +# sed "s:-lpng:-lpng -lz -lm:" \ +# xmakefile.orig > xmakefile + +# cd ${S}/config/cf +# cp X11.tmpl X11.tmpl.orig +# sed "s:-lpng:-lpng -lz -lm:" \ +# X11.tmpl.orig > X11.tmpl cd ${S} -- cgit v1.2.3-65-gdbad