diff options
author | Brandon Low <lostlogic@gentoo.org> | 2003-02-08 06:41:46 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@gentoo.org> | 2003-02-08 06:41:46 +0000 |
commit | 33a0b868b1e6252d1344dab26311909f7c5f5d04 (patch) | |
tree | cbae92e3e20e5f638ac3250567477661ceb80f0a /media-libs/libgd | |
parent | fix for userprif (diff) | |
download | gentoo-2-33a0b868b1e6252d1344dab26311909f7c5f5d04.tar.gz gentoo-2-33a0b868b1e6252d1344dab26311909f7c5f5d04.tar.bz2 gentoo-2-33a0b868b1e6252d1344dab26311909f7c5f5d04.zip |
package.fixmore
Diffstat (limited to 'media-libs/libgd')
-rw-r--r-- | media-libs/libgd/ChangeLog | 2 | ||||
-rw-r--r-- | media-libs/libgd/libgd-1.8.3-r6.ebuild | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/media-libs/libgd/ChangeLog b/media-libs/libgd/ChangeLog index 891f784fd3c1..eab1693ff746 100644 --- a/media-libs/libgd/ChangeLog +++ b/media-libs/libgd/ChangeLog @@ -1,6 +1,6 @@ # ChangeLog for media-libs/libgd # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/media-libs/libgd/ChangeLog,v 1.14 2003/02/08 06:29:33 lostlogic Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libgd/ChangeLog,v 1.15 2003/02/08 06:41:46 lostlogic Exp $ *libgd-1.8.3-r6 (15 Jan 2003) diff --git a/media-libs/libgd/libgd-1.8.3-r6.ebuild b/media-libs/libgd/libgd-1.8.3-r6.ebuild index 91b195f77003..3b0ff2527c65 100644 --- a/media-libs/libgd/libgd-1.8.3-r6.ebuild +++ b/media-libs/libgd/libgd-1.8.3-r6.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/media-libs/libgd/libgd-1.8.3-r6.ebuild,v 1.3 2003/02/08 06:29:33 lostlogic Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libgd/libgd-1.8.3-r6.ebuild,v 1.4 2003/02/08 06:41:46 lostlogic Exp $ IUSE="X" @@ -43,17 +43,17 @@ src_unpack() { && compopts="${compopts} -DHAVE_LIBTTF" \ && libsopts="${libsopts} -lttf" - cp Makefile Makefile.old - if use truetype + mv Makefile Makefile.old || die + if [ `use truetype` ] then sed -e "s:^\(CFLAGS\)=.*:\1=${CFLAGS} ${compopts} :" \ -e "s:^\(LIBS\)=.*:\1=-lm -lgd -lz ${libsopts}:" \ -e "s:^\(INCLUDEDIRS\)=:\1=-I/usr/include/freetype :" \ - Makefile.old > Makefile + Makefile.old > Makefile || die else - sed -i -e "s:^\(CFLAGS\)=.*:\1=${CFLAGS} ${compopts} :" \ + sed -e "s:^\(CFLAGS\)=.*:\1=${CFLAGS} ${compopts} :" \ -e "s:^\(LIBS\)=.*:\1=-lm -lgd -lz ${libsopts}:" \ - Makefile.old > Makefile + Makefile.old > Makefile || die fi } |