Fix bjam path
authorDaniel Goller <morfic@gentoo.org>
Sun, 12 Dec 2004 23:40:59 +0000 (23:40 +0000)
committerDaniel Goller <morfic@gentoo.org>
Sun, 12 Dec 2004 23:40:59 +0000 (23:40 +0000)
dev-libs/boost/ChangeLog
dev-libs/boost/boost-1.32.0.ebuild

index 7c64f8fc0d7c8f710581aae1a2c0cbe6d1f55a14..737a2c8fa68c7a14b57f571f0f78ddec89af0fe0 100644 (file)
@@ -1,10 +1,10 @@
 # ChangeLog for dev-libs/boost
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.29 2004/12/12 23:37:18 morfic Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.30 2004/12/12 23:40:59 morfic Exp $
 
   12 Dec 2004; Daniel Goller <morfic@gentoo.org> boost-1.32.0.ebuild:
   Fix bjam path
-  Thanks to dholth@fastmail.fm for noticing
+  Thanks to dholth@fastmail.fm and mayo@clara.co.uk for noticing + suggestions
 
   11 Dec 2004; Daniel Goller <morfic@gentoo.org> boost-1.32.0.ebuild:
   Cleanup + maintenance
index aeb4047723d6969182f96e3f575b53cdd21b001d..abbb9e0ab2b0bd9ab85acc070770b8a3318b4acf 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 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.ebuild,v 1.6 2004/12/12 02:41:44 morfic Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.32.0.ebuild,v 1.7 2004/12/12 23:37:18 morfic Exp $
 
 # This ebuild was generated by Ebuilder v0.4.
 
@@ -25,13 +25,15 @@ else
        arch=${ARCH}
 fi
 
+BOOSTJAM=./tools/build/jam_src/bin.linux${arch}/bjam
+
 src_compile() {
                cd ${S}/tools/build/jam_src
                ./build.sh || die "Failed to build bjam"
                cd ${S}
 
                # actual build
-               ./tools/build/jam_src/bin.linux${arch}/bjam \
+               ${BOOSTJAM} \
                        -sBOOST_ROOT=${S} \
                        -sPYTHON_ROOT=/usr \
                        -sPYTHON_VERSION=${PYTHON_VERSION} \
@@ -43,7 +45,7 @@ src_compile() {
 }
 
 src_install () {
-               /tools/build/jam_src/bin.linux${arch}/bjam ${MAKEOPTS} \
+               ${BOOSTJAM} ${MAKEOPTS} \
                                -sBOOST_ROOT=${S} \
                                -sPYTHON_ROOT=/usr \
                                -sPYTHON_VERSION=${PYTHON_VERSION} \