summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Goller <morfic@gentoo.org>2005-03-05 16:02:36 +0000
committerDaniel Goller <morfic@gentoo.org>2005-03-05 16:02:36 +0000
commit304a47522c3ac048f085566d14de62bb1520fff2 (patch)
treeba902e058b9262ec767579a1c61aa9032b393c3d /dev-libs/boost
parentdependency fix (diff)
downloadgentoo-2-304a47522c3ac048f085566d14de62bb1520fff2.tar.gz
gentoo-2-304a47522c3ac048f085566d14de62bb1520fff2.tar.bz2
gentoo-2-304a47522c3ac048f085566d14de62bb1520fff2.zip
making it work for icc as well as gcc
(Portage version: 2.0.51-r15)
Diffstat (limited to 'dev-libs/boost')
-rw-r--r--dev-libs/boost/ChangeLog6
-rw-r--r--dev-libs/boost/boost-1.32.0-r1.ebuild20
2 files changed, 16 insertions, 10 deletions
diff --git a/dev-libs/boost/ChangeLog b/dev-libs/boost/ChangeLog
index a37fc7dbb97b..7ba7112df27a 100644
--- a/dev-libs/boost/ChangeLog
+++ b/dev-libs/boost/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/boost
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.38 2005/03/05 05:33:08 morfic Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.39 2005/03/05 16:02:36 morfic Exp $
+
+ 05 Mar 2005; Daniel Goller <morfic@gentoo.org> boost-1.32.0-r1.ebuild:
+ making the symlinks work for gcc and icc by inserting a variable not a
+ harcoded -gcc into the libname
*boost-1.32.0-r1 (04 Mar 2005)
diff --git a/dev-libs/boost/boost-1.32.0-r1.ebuild b/dev-libs/boost/boost-1.32.0-r1.ebuild
index 6b47af470183..049427f4cd72 100644
--- a/dev-libs/boost/boost-1.32.0-r1.ebuild
+++ b/dev-libs/boost/boost-1.32.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.32.0-r1.ebuild,v 1.1 2005/03/05 05:33:08 morfic Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.32.0-r1.ebuild,v 1.2 2005/03/05 16:02:36 morfic Exp $
# This ebuild was generated by Ebuilder v0.4.
inherit python
@@ -29,8 +29,10 @@ pkg_setup() {
if use icc ; then
BOOST_TOOLSET="intel-linux"
+ TOOLSET_NAME="icc"
else
BOOST_TOOLSET="gcc"
+ TOOLSET_NAME="gcc"
fi
BOOSTJAM=./tools/build/jam_src/bin.linux${arch}/bjam
@@ -89,17 +91,17 @@ src_install () {
cd ${D}/usr/lib
for fn in `ls -1 *.so|cut -d- -f1|sort|uniq`; do
- dosym $fn.so $fn-gcc.so
- dosym $fn-mt.so $fn-gcc-mt.so
- dosym $fn-d.so $fn-gcc-d.so
- dosym $fn-mt-d.so $fn-gcc-d.so
+ dosym $fn.so $fn-${TOOLSET_NAME}.so
+ dosym $fn-mt.so $fn-${TOOLSET_NAME}-mt.so
+ dosym $fn-d.so $fn-${TOOLSET_NAME}-d.so
+ dosym $fn-mt-d.so $fn-${TOOLSET_NAME}-mt-d.so
done
for fn in `ls -1 *.a|cut -d- -f1|sort|uniq`; do
- dosym $fn.a $fn-gcc.a
- dosym $fn-mt.a $fn-gcc-mt.a
- dosym $fn-d.a $fn-gcc-d.a
- dosym $fn-mt-d.a $fn-gcc-d.a
+ dosym $fn.a $fn-${TOOLSET_NAME}.a
+ dosym $fn-mt.a $fn-${TOOLSET_NAME}-mt.a
+ dosym $fn-d.a $fn-${TOOLSET_NAME}-d.a
+ dosym $fn-mt-d.a $fn-${TOOLSET_NAME}-mt-d.a
done
}