summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2002-07-13 03:22:57 +0000
committerBrandon Low <lostlogic@gentoo.org>2002-07-13 03:22:57 +0000
commitbf2863ee395716cdf84acd23c5f83d37085a4350 (patch)
tree9f37383a944e6dc59b37f700cc86c88b480de296 /dev-libs/STLport
parentnew French language dictionary (diff)
downloadgentoo-2-bf2863ee395716cdf84acd23c5f83d37085a4350.tar.gz
gentoo-2-bf2863ee395716cdf84acd23c5f83d37085a4350.tar.bz2
gentoo-2-bf2863ee395716cdf84acd23c5f83d37085a4350.zip
alright here it is gcc-3 fix and ebuild cleanup.
Diffstat (limited to 'dev-libs/STLport')
-rw-r--r--dev-libs/STLport/ChangeLog8
-rw-r--r--dev-libs/STLport/STLport-4.5.3-r1.ebuild45
-rw-r--r--dev-libs/STLport/files/STLport-4.5.3-gcc3.patch22
-rw-r--r--dev-libs/STLport/files/digest-STLport-4.5.3-r11
4 files changed, 75 insertions, 1 deletions
diff --git a/dev-libs/STLport/ChangeLog b/dev-libs/STLport/ChangeLog
index 12a7a4143c82..e1446a64a8ac 100644
--- a/dev-libs/STLport/ChangeLog
+++ b/dev-libs/STLport/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/STLport
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/ChangeLog,v 1.3 2002/04/13 13:01:14 blocke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/ChangeLog,v 1.4 2002/07/13 03:22:56 lostlogic Exp $
+
+*STLport-4.5.3-r1 (12 Jul 2002)
+
+ 12 Jul 2002; Brandon Low <lostlogic@gentoo.org> STLport-4.5.3-r1.ebuild :
+
+ Fix for gcc-3, add LICENSE, KEYWORDS, SLOT.
*STLport-4.5.3 (13 Apr 2002)
diff --git a/dev-libs/STLport/STLport-4.5.3-r1.ebuild b/dev-libs/STLport/STLport-4.5.3-r1.ebuild
new file mode 100644
index 000000000000..d0cc0a34870b
--- /dev/null
+++ b/dev-libs/STLport/STLport-4.5.3-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/STLport-4.5.3-r1.ebuild,v 1.1 2002/07/13 03:22:57 lostlogic 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"
+RDEPEND="${DEPEND}"
+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
+}
+
diff --git a/dev-libs/STLport/files/STLport-4.5.3-gcc3.patch b/dev-libs/STLport/files/STLport-4.5.3-gcc3.patch
new file mode 100644
index 000000000000..2dfcc27214c1
--- /dev/null
+++ b/dev-libs/STLport/files/STLport-4.5.3-gcc3.patch
@@ -0,0 +1,22 @@
+diff -Naur STLport-4.5.3-busted/stlport/config/stl_gcc.h STLport-4.5.3/stlport/config/stl_gcc.h
+--- STLport-4.5.3-busted/stlport/config/stl_gcc.h Thu Jan 10 18:41:58 2002
++++ STLport-4.5.3/stlport/config/stl_gcc.h Sat Jul 13 00:13:35 2002
+@@ -250,9 +250,18 @@
+
+ # if (__GNUC__ >= 3)
+
++# if (__GNUC_MINOR__ >= 1)
++
++# define _STLP_NATIVE_INCLUDE_PATH ../g++-v31
++# define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH ../g++-v31/backward
++
++# else
++
+ # define _STLP_NATIVE_INCLUDE_PATH ../g++-v3
+ # define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH ../g++-v3/backward
+
++# endif
++
+ # elif (__GNUC_MINOR__ < 8)
+
+ # define _STLP_NO_OWN_IOSTREAMS 1
diff --git a/dev-libs/STLport/files/digest-STLport-4.5.3-r1 b/dev-libs/STLport/files/digest-STLport-4.5.3-r1
new file mode 100644
index 000000000000..291d823d7f54
--- /dev/null
+++ b/dev-libs/STLport/files/digest-STLport-4.5.3-r1
@@ -0,0 +1 @@
+MD5 cd4dd34b623a8704fbc800de79705171 STLport-4.5.3.tar.gz 739943