summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/rb_libtorrent/files/rb_libtorrent-0.14.8-boost-detect.patch')
-rw-r--r--net-libs/rb_libtorrent/files/rb_libtorrent-0.14.8-boost-detect.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/net-libs/rb_libtorrent/files/rb_libtorrent-0.14.8-boost-detect.patch b/net-libs/rb_libtorrent/files/rb_libtorrent-0.14.8-boost-detect.patch
new file mode 100644
index 0000000..6f55754
--- /dev/null
+++ b/net-libs/rb_libtorrent/files/rb_libtorrent-0.14.8-boost-detect.patch
@@ -0,0 +1,33 @@
+--- m4/ax_boost_base-fixed.m4.orig 2010-01-16 00:10:19.000000000 +0100
++++ m4/ax_boost_base-fixed.m4 2010-01-16 00:12:32.000000000 +0100
+@@ -89,7 +89,7 @@
+ dnl or if you install boost with RPM
+ if test "$ac_boost_path" != ""; then
+ BOOST_LDFLAGS="-L$ac_boost_path/lib"
+- BOOST_CPPFLAGS="-I$ac_boost_path/include"
++ BOOST_CPPFLAGS="-I$ac_boost_path"
+ else
+ for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do
+ if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then
+--- bindings/python/setup.py.in.orig 2010-01-16 00:14:36.000000000 +0100
++++ bindings/python/setup.py.in 2010-01-16 00:15:15.000000000 +0100
+@@ -62,7 +62,7 @@
+ source_list = os.listdir(os.path.join(os.path.dirname(__file__), "src"))
+ source_list = [os.path.join("src", s) for s in source_list if s.endswith(".cpp")]
+
+-extra_cmd = '@COMPILETIME_OPTIONS@ @CPPFLAGS@ @LIBS@ @BOOST_FILESYSTEM_LIB@ @BOOST_THREAD_LIB@ @PTHREAD_LIBS@ @SSL_LIBS@ @BOOST_SYSTEM_LIB@ @SSL_LDFLAGS@ @SSL_CXXFLAGS@'
++extra_cmd = '@COMPILETIME_OPTIONS@ @CPPFLAGS@ @LIBS@ @BOOST_LDFLAGS@ @BOOST_FILESYSTEM_LIB@ @BOOST_THREAD_LIB@ @PTHREAD_LIBS@ @SSL_LIBS@ @BOOST_SYSTEM_LIB@ @SSL_LDFLAGS@ @SSL_CXXFLAGS@'
+
+ setup( name='python-libtorrent',
+ version='@PACKAGE_VERSION@',
+--- src/Makefile.am.orig 2010-01-16 00:16:08.000000000 +0100
++++ src/Makefile.am 2010-01-16 00:17:16.000000000 +0100
+@@ -108,7 +108,7 @@
+ $(top_srcdir)/include/libtorrent/version.hpp
+
+
+-libtorrent_rasterbar_la_LDFLAGS = $(LDFLAGS) -version-info $(INTERFACE_VERSION_INFO)
++libtorrent_rasterbar_la_LDFLAGS = $(LDFLAGS) -version-info $(INTERFACE_VERSION_INFO) @BOOST_LDFLAGS@
+ libtorrent_rasterbar_la_LIBADD = @ZLIB@ @BOOST_SYSTEM_LIB@ @BOOST_FILESYSTEM_LIB@ @BOOST_THREAD_LIB@ @PTHREAD_LIBS@ @SSL_LIBS@
+
+ AM_CXXFLAGS= -ftemplate-depth-100 -I$(top_srcdir)/include -I$(top_srcdir)/include/libtorrent @ZLIBINCL@ @DEBUGFLAGS@ @PTHREAD_CFLAGS@ -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION @SSL_CXXFLAGS@