Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142370 - make possible install ferrisloki without stlport
Summary: make possible install ferrisloki without stlport
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-31 21:16 UTC by Evgeniy Dushistov
Modified: 2007-07-26 05:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeniy Dushistov 2006-07-31 21:16:43 UTC
Here is patch for ferrisloki-2.1.1:

---

diff -u ferrisloki-2.1.1.ebuild ferrisloki-2.1.1-r1.ebuild 
--- ferrisloki-2.1.1.ebuild     2006-04-08 23:06:09.000000000 +0400
+++ ferrisloki-2.1.1-r1.ebuild  2006-08-01 08:23:13.321367000 +0400
@@ -9,11 +9,19 @@
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ppc x86"
-IUSE=""
+IUSE="stlport"
 
-DEPEND=">=dev-libs/STLport-4.5.3-r3
+DEPEND="stlport? >=dev-libs/STLport-4.5.3-r3
        =dev-libs/libsigc++-1.2*"
 
+src_compile() {
+       if ! use stlport; then
+               myconf="${myconf} --disable-stlport"
+       fi
+       econf ${myconf} || die
+       emake || die
+}
+
 src_install() {
        make install DESTDIR="${D}" || die
        dodoc AUTHORS ChangeLog NEWS README
Comment 1 SpanKY gentoo-dev 2007-07-26 05:53:54 UTC
added to the tree, cheers