summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Goller <morfic@gentoo.org>2005-03-06 08:48:54 +0000
committerDaniel Goller <morfic@gentoo.org>2005-03-06 08:48:54 +0000
commit4692196bacc1251c715ccabee8d83e2215fae6f2 (patch)
treeb8300da0e5f93226b0a3ee5ba0f8da780edfa7f2 /dev-libs/boost
parentfixed http://bugs.gentoo.org/show_bug.cgi?id=84249 (diff)
downloadgentoo-2-4692196bacc1251c715ccabee8d83e2215fae6f2.tar.gz
gentoo-2-4692196bacc1251c715ccabee8d83e2215fae6f2.tar.bz2
gentoo-2-4692196bacc1251c715ccabee8d83e2215fae6f2.zip
no links in / please
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-libs/boost')
-rw-r--r--dev-libs/boost/ChangeLog5
-rw-r--r--dev-libs/boost/boost-1.32.0-r1.ebuild34
2 files changed, 29 insertions, 10 deletions
diff --git a/dev-libs/boost/ChangeLog b/dev-libs/boost/ChangeLog
index 7ba7112df27a..164bf3b8b17d 100644
--- a/dev-libs/boost/ChangeLog
+++ b/dev-libs/boost/ChangeLog
@@ -1,6 +1,9 @@
# 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.39 2005/03/05 16:02:36 morfic Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.40 2005/03/06 08:48:54 morfic Exp $
+
+ 06 Mar 2005; Daniel Goller <morfic@gentoo.org> boost-1.32.0-r1.ebuild:
+ fixed issue with links ending up in / if the target does not exist
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
diff --git a/dev-libs/boost/boost-1.32.0-r1.ebuild b/dev-libs/boost/boost-1.32.0-r1.ebuild
index 049427f4cd72..8b8ece0fdbf9 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.2 2005/03/05 16:02:36 morfic Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.32.0-r1.ebuild,v 1.3 2005/03/06 08:48:54 morfic Exp $
# This ebuild was generated by Ebuilder v0.4.
inherit python
@@ -91,17 +91,33 @@ src_install () {
cd ${D}/usr/lib
for fn in `ls -1 *.so|cut -d- -f1|sort|uniq`; do
- 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
+ if [ -f "$fn.so" ] ; then
+ dosym $fn.so /usr/lib/$fn-${TOOLSET_NAME}.so
+ fi
+ if [ -f "$fn-mt.so" ] ; then
+ dosym $fn-mt.so /usr/lib/$fn-${TOOLSET_NAME}-mt.so
+ fi
+ if [ -f "$fn-d.so" ] ; then
+ dosym $fn-d.so /usr/lib/$fn-${TOOLSET_NAME}-d.so
+ fi
+ if [ -f "$fn-mt-d.so" ] ; then
+ dosym $fn-mt-d.so /usr/lib/$fn-${TOOLSET_NAME}-mt-d.so
+ fi
done
for fn in `ls -1 *.a|cut -d- -f1|sort|uniq`; do
- 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
+ if [ -f "$fn.a" ] ; then
+ dosym $fn.a /usr/lib/$fn-${TOOLSET_NAME}.a
+ fi
+ if [ -f "$fn-mt.a" ] ; then
+ dosym $fn-mt.a /usr/lib/$fn-${TOOLSET_NAME}-mt.a
+ fi
+ if [ -f "$fn-d.a" ] ; then
+ dosym $fn-d.a /usr/lib/$fn-${TOOLSET_NAME}-d.a
+ fi
+ if [ -f "$fn-mt-d.a" ] ; then
+ dosym $fn-mt-d.a /usr/lib/$fn-${TOOLSET_NAME}-mt-d.a
+ fi
done
}