Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6023 - error in STLport-4.5.3-r1.ebuild, added 'cd ${S}/src' to src_compile()
Summary: error in STLport-4.5.3-r1.ebuild, added 'cd ${S}/src' to src_compile()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Bruce A. Locke (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-04 23:12 UTC by Jeff Caldwell
Modified: 2002-08-15 15:35 UTC (History)
1 user (show)

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 Jeff Caldwell 2002-08-04 23:12:32 UTC
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /home/cvsroot/gentoo-x86/dev-libs/STLport/STLport-4.5.3-r1.ebuild,v
1.2 2002/08/01 16:07:16 seemant Exp $

S=${WORKDIR}/${P}
DESCRIPTION="C++ STL library"
SRC_URI="http://www.stlport.org/archive/${P}.tar.gz"
HOMEPAGE="http://www.stlport.org"

DEPEND="virtual/glibc"

SLOT="0"
KEYWORDS="x86"
LICENSE="as-is"

src_unpack() {

        unpack ${A}
        cd ${S}
        patch -p1 < ${FILESDIR}/${P}-gcc3.patch || die "Patching failed"
}

src_compile() {
	cd ${S}/src
        make -f gcc-linux.mak || die "Compile failed"
}

src_install () {

        dodir /usr/include
        cp -R ${S}/stlport ${D}/usr/include
        rm -rf ${D}/usr/include/stlport/BC50
                
        dodir /usr/lib
        cp -R ${S}/lib/* ${D}/usr/lib/
        rm -rf ${D}/usr/lib/obj
        
        cd ${S}/etc/
        dodoc ChangeLog* README TODO *.txt

        cd ${S}
        dohtml -r doc
}
Comment 1 Edward Muller 2002-08-06 22:00:04 UTC
Just wanted to me too the problem and the fix.
Comment 2 Dan Armak (RETIRED) gentoo-dev 2002-08-15 15:35:44 UTC
I confirm the problem and fix. I'm committing it since it's a rather obvious 
one and can't break anything (I hope!).