aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-p2p/libtorrent-devel/Makefile2
-rw-r--r--net-p2p/libtorrent/Makefile2
-rw-r--r--net-p2p/rtorrent-devel/Makefile3
-rw-r--r--net-p2p/rtorrent/Makefile2
4 files changed, 9 insertions, 0 deletions
diff --git a/net-p2p/libtorrent-devel/Makefile b/net-p2p/libtorrent-devel/Makefile
index 8efd9794963..193d183bf7c 100644
--- a/net-p2p/libtorrent-devel/Makefile
+++ b/net-p2p/libtorrent-devel/Makefile
@@ -22,6 +22,8 @@ CONFLICTS= libtorrent-[0-9]* \
rblibtorrent-[0-9]* \
rblibtorrent-devel-[0-9]*
+.if exists(${.CURDIR}/files/devel-*)
EXTRA_PATCHES= ${.CURDIR}/files/devel-*
+.endif
.include "${MASTERDIR}/Makefile"
diff --git a/net-p2p/libtorrent/Makefile b/net-p2p/libtorrent/Makefile
index cb497979e9e..b29e6b85b91 100644
--- a/net-p2p/libtorrent/Makefile
+++ b/net-p2p/libtorrent/Makefile
@@ -28,7 +28,9 @@ USE_OPENSSL= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
+.if exists(${.CURDIR}/files/stable-*)
EXTRA_PATCHES?= ${.CURDIR}/files/stable-*
+.endif
OPTIONS= KQUEUE "Use kqueue(2) support" on
diff --git a/net-p2p/rtorrent-devel/Makefile b/net-p2p/rtorrent-devel/Makefile
index e243224712f..cc42c6aba7e 100644
--- a/net-p2p/rtorrent-devel/Makefile
+++ b/net-p2p/rtorrent-devel/Makefile
@@ -24,6 +24,9 @@ DESCR= ${MASTERDIR}/pkg-descr
CONFLICTS= rtorrent-[0-9]*
USE_GCC= 4.2+
+
+.if exists(${.CURDIR}/files/devel-*)
EXTRA_PATCHES= ${.CURDIR}/files/devel-*
+.endif
.include "${MASTERDIR}/Makefile"
diff --git a/net-p2p/rtorrent/Makefile b/net-p2p/rtorrent/Makefile
index d9c62148808..ad75530b9d6 100644
--- a/net-p2p/rtorrent/Makefile
+++ b/net-p2p/rtorrent/Makefile
@@ -27,7 +27,9 @@ MAN1= rtorrent.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug
+.if exists(${.CURDIR}/files/stable-*)
EXTRA_PATCHES?= ${.CURDIR}/files/stable-*
+.endif
SUB_FILES= pkg-message