aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/libtorrent-rasterbar-15
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2011-08-09 05:36:48 +0000
committerDoug Barton <dougb@FreeBSD.org>2011-08-09 05:36:48 +0000
commitd31085f8ae0cbc7dbaca14dd6c341aa51f1d0770 (patch)
tree55aa5143a2f95ea14b8a77be7613f4b0531c4aef /net-p2p/libtorrent-rasterbar-15
parente67c50d010b1f162c828f91bf61c4d362f6966b9 (diff)
downloadports-d31085f8ae0cbc7dbaca14dd6c341aa51f1d0770.tar.gz
ports-d31085f8ae0cbc7dbaca14dd6c341aa51f1d0770.zip
Notes
Diffstat (limited to 'net-p2p/libtorrent-rasterbar-15')
-rw-r--r--net-p2p/libtorrent-rasterbar-15/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/net-p2p/libtorrent-rasterbar-15/Makefile b/net-p2p/libtorrent-rasterbar-15/Makefile
index 7134e46633b4..4344e1abb1ec 100644
--- a/net-p2p/libtorrent-rasterbar-15/Makefile
+++ b/net-p2p/libtorrent-rasterbar-15/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libtorrent-rasterbar
PORTVERSION= 0.15.7
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES?= net-p2p ipv6
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PROJECTHOST= libtorrent
@@ -55,15 +55,18 @@ CONFIGURE_ARGS+= --enable-python-binding \
CONFIGURE_ARGS+= --disable-python-binding
.endif
-.if defined(SLAVE_PORT) && ${SLAVE_PORT:L}=="yes"
-post-patch: slave-post-patch
-.else
-post-patch:
- ${MV} ${WRKSRC}/include/libtorrent/alloca.hpp \
+pre-patch:
+ @${MV} ${WRKSRC}/include/libtorrent/alloca.hpp \
${WRKSRC}/include/libtorrent/alloca.hpp.Dist
- ${SED} -e 's#alloca.h#stdlib.h#g' \
+ @${SED} -e 's#alloca.h#stdlib.h#g' \
${WRKSRC}/include/libtorrent/alloca.hpp.Dist > \
${WRKSRC}/include/libtorrent/alloca.hpp
+ @${CP} ${WRKSRC}/configure ${WRKSRC}/configure.Dist
+ @${SED} -e 's#COMPILETIME_OPTIONS+="#COMPILETIME_OPTIONS="$$COMPILETIME_OPTIONS #g' \
+ ${WRKSRC}/configure.Dist > ${WRKSRC}/configure
+
+.if defined(SLAVE_PORT) && ${SLAVE_PORT:L}=="yes"
+post-patch: slave-post-patch
.endif
.if defined(SLAVE_PORT) && ${SLAVE_PORT:L}=="yes"