ports/128775: [PATCH] net-p2p/rtorrent: fix build while no extra patch exists
Sunpoet Po-Chuan Hsieh
sunpoet at sunpoet.net
Tue Nov 11 03:50:02 UTC 2008
>Number: 128775
>Category: ports
>Synopsis: [PATCH] net-p2p/rtorrent: fix build while no extra patch exists
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Nov 11 03:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Sunpoet Po-Chuan Hsieh
>Release: FreeBSD 7.1-PRERELEASE amd64
>Organization:
SUNPOET.net
>Environment:
System: FreeBSD bonjour.sunpoet.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #12: Thu Sep 4 10:55:47 CST
>Description:
- Wrap EXTRA_PATCHES in case no extra patch exists
Port maintainer (flz at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- rtorrent-0.7.9_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net-p2p/rtorrent/Makefile /usr/ports/sunpoet/rtorrent/Makefile
--- /usr/ports/net-p2p/rtorrent/Makefile 2008-11-11 09:02:47.109126845 +0800
+++ /usr/ports/sunpoet/rtorrent/Makefile 2008-11-11 11:32:05.567783462 +0800
@@ -27,7 +27,9 @@
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug
-EXTRA_PATCHES?= ${.CURDIR}/files/stable-*
+.if exists(${FILESDIR}/stable-*)
+EXTRA_PATCHES?= ${FILESDIR}/stable-*
+.endif
SUB_FILES= pkg-message
diff -ruN --exclude=CVS /usr/ports/net-p2p/rtorrent-devel/Makefile /usr/ports/sunpoet/rtorrent-devel/Makefile
--- /usr/ports/net-p2p/rtorrent-devel/Makefile 2008-11-11 09:02:47.111178502 +0800
+++ /usr/ports/sunpoet/rtorrent-devel/Makefile 2008-11-11 11:30:39.542123776 +0800
@@ -24,6 +24,9 @@
CONFLICTS= rtorrent-[0-9]*
USE_GCC= 4.2+
+
+.if exists(${.CURDIR}/files/devel-*)
EXTRA_PATCHES= ${.CURDIR}/files/devel-*
+.endif
.include "${MASTERDIR}/Makefile"
--- rtorrent-0.7.9_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list