summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Jones <cretin@gentoo.org>2003-03-14 11:44:53 +0000
committerStefan Jones <cretin@gentoo.org>2003-03-14 11:44:53 +0000
commitd5af54b46bd9be2db470d3bd89b531a6d2c23216 (patch)
tree99ae8dec8a6952efcf6da09afb41a77b622542f8 /media-gfx/povray
parentUpdated ebuild to patch makefiles. Closes #7377. (diff)
downloadgentoo-2-d5af54b46bd9be2db470d3bd89b531a6d2c23216.tar.gz
gentoo-2-d5af54b46bd9be2db470d3bd89b531a6d2c23216.tar.bz2
gentoo-2-d5af54b46bd9be2db470d3bd89b531a6d2c23216.zip
add pthread to libraries if X is used
Diffstat (limited to 'media-gfx/povray')
-rw-r--r--media-gfx/povray/ChangeLog6
-rw-r--r--media-gfx/povray/povray-3.50a.ebuild8
2 files changed, 11 insertions, 3 deletions
diff --git a/media-gfx/povray/ChangeLog b/media-gfx/povray/ChangeLog
index 432840a110fd..6e4fecf23cc6 100644
--- a/media-gfx/povray/ChangeLog
+++ b/media-gfx/povray/ChangeLog
@@ -1,6 +1,6 @@
# ChangeLog for media-gfx/povray
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/ChangeLog,v 1.16 2003/03/02 22:25:28 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/ChangeLog,v 1.17 2003/03/14 11:44:53 cretin Exp $
02 March 2003; Jon Portnoy <avenj@gentoo.org> povray-3.5a.ebuild :
Fixed missing 'else' for GCC CPPFLAGS.
@@ -11,6 +11,10 @@
*povray-3.5a (05 Oct 2002)
+ 14 Mar 2003; Stefan Jones <cretin@gentoo.org> povray-3.5a.ebuild :
+ Added pthread to librarys for /usr/X11R6/lib/libX11.a dep
+ Bug 17493
+
15 Dec 2002; Bjoern Brauel <bjb@gentoo.org> povray-3.5a.ebuild :
Add alpha to KEYWORDS
diff --git a/media-gfx/povray/povray-3.50a.ebuild b/media-gfx/povray/povray-3.50a.ebuild
index 305a0f64c469..6f197a79c63a 100644
--- a/media-gfx/povray/povray-3.50a.ebuild
+++ b/media-gfx/povray/povray-3.50a.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/povray-3.50a.ebuild,v 1.15 2003/03/02 22:25:28 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/povray-3.50a.ebuild,v 1.16 2003/03/14 11:44:53 cretin Exp $
IUSE="icc X svga"
@@ -69,7 +69,11 @@ src_compile() {
fi
# fix library dependency
- echo 's/LIBS = \(.*\)/LIBS = \1 -ldl/' >> makefile.sed
+ if [ "`use X`" ]; then
+ echo 's/LIBS = \(.*\)/LIBS = \1 -ldl -lpthread/' >> makefile.sed
+ else
+ echo 's/LIBS = \(.*\)/LIBS = \1 -ldl/' >> makefile.sed
+ fi
cp Makefile Makefile.orig
sed -f makefile.sed Makefile.orig > Makefile