aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2008-11-17 06:22:06 +0800
committerflz <flz@FreeBSD.org>2008-11-17 06:22:06 +0800
commita26b3b1bed785cbaf9f230385913fd8ca7122fda (patch)
treea89240230104260533ac75e236ab0e5ddced976a /net-p2p
parente8d66583a2563da33671c0c9db32a28735b95401 (diff)
downloadfreebsd-ports-gnome-a26b3b1bed785cbaf9f230385913fd8ca7122fda.tar.gz
freebsd-ports-gnome-a26b3b1bed785cbaf9f230385913fd8ca7122fda.tar.zst
freebsd-ports-gnome-a26b3b1bed785cbaf9f230385913fd8ca7122fda.zip
Only add extra patches if they are present.
PR: ports/128775 [1], ports/128807 [2], ports/128921 [3] Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> [1] Jimmie James <jimmiejaz@gmail.com> [2] Falko Richter <xendorphin@gmail.com> [3]
Diffstat (limited to 'net-p2p')
-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 8efd97949637..193d183bf7c8 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 cb497979e9e4..b29e6b85b918 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 e243224712f8..cc42c6aba7e7 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 d9c621488084..ad75530b9d6c 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