summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2006-10-11 12:21:19 +0000
committerRaúl Porcel <armin76@gentoo.org>2006-10-11 12:21:19 +0000
commit2a0c43590537952be41c076ea7d07beba9170db9 (patch)
tree5c7200675c6fa76cca1eea788709d53e54d49943
parentapp-portage/elogviewer: Sourceforge project finally: New HOMEPAGE, new SRC_UR... (diff)
downloadsunrise-2a0c43590537952be41c076ea7d07beba9170db9.tar.gz
sunrise-2a0c43590537952be41c076ea7d07beba9170db9.tar.bz2
sunrise-2a0c43590537952be41c076ea7d07beba9170db9.zip
net-libs/rb_libtorrent: Enhanced ebuild. Removing radical fix for boost
svn path=/sunrise/; revision=1530
-rw-r--r--net-libs/rb_libtorrent/ChangeLog4
-rw-r--r--net-libs/rb_libtorrent/Manifest16
-rw-r--r--net-libs/rb_libtorrent/rb_libtorrent-0.10.ebuild17
3 files changed, 20 insertions, 17 deletions
diff --git a/net-libs/rb_libtorrent/ChangeLog b/net-libs/rb_libtorrent/ChangeLog
index fa51b42f8..084e1a7ca 100644
--- a/net-libs/rb_libtorrent/ChangeLog
+++ b/net-libs/rb_libtorrent/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 11 Oct 2006; Raul Porcel (armin76) <armin76@gmail.com>
+ rb_libtorrent-0.10.ebuild:
+ Enhanced ebuild. Removing radical fix for boost
+
05 Oct 2006; Jakub Moc <jakub@gentoo.org> rb_libtorrent-0.10.ebuild:
Fix ${S}
diff --git a/net-libs/rb_libtorrent/Manifest b/net-libs/rb_libtorrent/Manifest
index f3df2b435..8c87f0f75 100644
--- a/net-libs/rb_libtorrent/Manifest
+++ b/net-libs/rb_libtorrent/Manifest
@@ -1,12 +1,12 @@
DIST libtorrent-0.10.tar.gz 989448 RMD160 e8ebb573e93122291615524ed3aab50bafaf9e1b SHA1 8b31a4aecaf2f9469e3949939a81d6bfb4661c25 SHA256 b337eb174a26722ec4cdd4349e07bb5ef51eda7d8de1414c9d5ad5251c021edf
-EBUILD rb_libtorrent-0.10.ebuild 947 RMD160 ce027c34f2621e90fb048d71e1712c389984d7dc SHA1 b951082303044a84598b1a26b47575d5edd130a1 SHA256 9de216aeaebb1bc0c7ac509b75c674d1c347fd6fa150e801239aebfbe8812d0c
-MD5 02dc08ae55ce4f904b37df6114818b26 rb_libtorrent-0.10.ebuild 947
-RMD160 ce027c34f2621e90fb048d71e1712c389984d7dc rb_libtorrent-0.10.ebuild 947
-SHA256 9de216aeaebb1bc0c7ac509b75c674d1c347fd6fa150e801239aebfbe8812d0c rb_libtorrent-0.10.ebuild 947
-MISC ChangeLog 476 RMD160 420e2d8ca7b1d184455d6b3c1efbdb69828ec842 SHA1 f6d32ee1a69335ae10d00535728181b73f877965 SHA256 c471543e172be6e1b3324714077c5018a65980be9847bf48191035fb9bc35502
-MD5 13be3e8997664fe424d769c5ced4f775 ChangeLog 476
-RMD160 420e2d8ca7b1d184455d6b3c1efbdb69828ec842 ChangeLog 476
-SHA256 c471543e172be6e1b3324714077c5018a65980be9847bf48191035fb9bc35502 ChangeLog 476
+EBUILD rb_libtorrent-0.10.ebuild 1122 RMD160 76289cccc825e47285394354a4ec01274a67a757 SHA1 38105828ec3c194fd0fa0b65a9094fb236ced920 SHA256 dcfe38f2d09b733a2fb381790986451da62efb49d3cf502e58a431237046dce8
+MD5 59697c501c5834c68cbe62f7b29af9f0 rb_libtorrent-0.10.ebuild 1122
+RMD160 76289cccc825e47285394354a4ec01274a67a757 rb_libtorrent-0.10.ebuild 1122
+SHA256 dcfe38f2d09b733a2fb381790986451da62efb49d3cf502e58a431237046dce8 rb_libtorrent-0.10.ebuild 1122
+MISC ChangeLog 613 RMD160 a68a44267670d86e98327b8a1aa9e0f5cf7d2266 SHA1 06988571ffd5ddec02bf8a33d6bf7c531d073752 SHA256 010af8b9154895c00e95c0e76dacbf1396551ce3e92a94b3b86b4f91c635587d
+MD5 09b59b5c6511539c5ccb19290a6a52a0 ChangeLog 613
+RMD160 a68a44267670d86e98327b8a1aa9e0f5cf7d2266 ChangeLog 613
+SHA256 010af8b9154895c00e95c0e76dacbf1396551ce3e92a94b3b86b4f91c635587d ChangeLog 613
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
diff --git a/net-libs/rb_libtorrent/rb_libtorrent-0.10.ebuild b/net-libs/rb_libtorrent/rb_libtorrent-0.10.ebuild
index cc3641485..22e00a622 100644
--- a/net-libs/rb_libtorrent/rb_libtorrent-0.10.ebuild
+++ b/net-libs/rb_libtorrent/rb_libtorrent-0.10.ebuild
@@ -21,16 +21,15 @@ IUSE="debug"
DEPEND="dev-libs/boost"
RDEPEND="${DEPEND}"
-pkg_setup() {
- ! built_with_use dev-libs/boost threads && die \
- "rb_libtorrent needs dev-libs/boost built with threads USE flag"
-
- # fix for dev-libs/boost thread lib
- ln -sf /usr/lib/libboost_thread-mt.so.1.33.1 /usr/lib/libboost_thread.so
-}
-
src_compile() {
- econf $(use_enable debug) || die "econf failed"
+ # If threads were used to build boost, the library files will have a suffix.
+ if built_with_use "dev-libs/boost" threads || use built_with_use "dev-libs/boost" threads-only ; then
+ BOOST_LIBS="--with-boost-date-time=mt --with-boost-filesystem=mt --with-boost-thread=mt --with-boost-regex=mt --with-boost-program_options=mt"
+ else
+ die "rb_libtorrent needs dev-libs/boost built with threads USE flag"
+ fi
+
+ econf $(use_enable debug) ${BOOST_LIBS} || die "econf failed"
emake || die "emake failed"
}