Modified: trunk/dports/net/libtorrent-rasterbar/Portfile (70902 => 70903)
--- trunk/dports/net/libtorrent-rasterbar/Portfile 2010-08-25 16:41:19 UTC (rev 70902)
+++ trunk/dports/net/libtorrent-rasterbar/Portfile 2010-08-25 17:37:56 UTC (rev 70903)
@@ -5,6 +5,7 @@
name libtorrent-rasterbar
version 0.15.2
+revision 1
categories net
maintainers devans openmaintainer
platforms darwin
@@ -65,7 +66,8 @@
}
}
-patchfiles patch-bindings-python-setup.py.in.diff
+patchfiles patch-bindings-python-setup.py.in.diff \
+ patch-include-libtorrent-udp_socket.hpp.diff
post-patch {
reinplace "s|__MP_BUILD_ARCH__|${build_arch}|" ${worksrcpath}/bindings/python/setup.py.in
Modified: trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-setup.py.in.diff (70902 => 70903)
--- trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-setup.py.in.diff 2010-08-25 16:41:19 UTC (rev 70902)
+++ trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-setup.py.in.diff 2010-08-25 17:37:56 UTC (rev 70903)
@@ -1,16 +1,16 @@
---- bindings/python/setup.py.in.orig 2010-08-10 02:59:59.000000000 -0700
-+++ bindings/python/setup.py.in 2010-08-10 03:01:43.000000000 -0700
+--- bindings/python/setup.py.in.orig 2010-08-08 01:41:52.000000000 -0700
++++ bindings/python/setup.py.in 2010-08-25 08:51:55.000000000 -0700
@@ -23,8 +23,7 @@
def arch():
if platform.system() != 'Darwin': return []
- a = os.uname()[4]
- if a == 'Power Macintosh': a = 'ppc'
-+ a = '__MP_BUILD_ARCH__'
++ a = 'x86_64'
return ['-arch', a]
if platform.system() == 'Windows':
-@@ -78,7 +77,7 @@
+@@ -80,7 +79,7 @@
language='c++',
include_dirs = ['@top_srcdir@/include'] + parse_cmd(extra_cmd, '-I'),
library_dirs = ['@top_builddir@/src/.libs'] + parse_cmd(extra_cmd, '-L'),