Date: Tue, 11 Nov 2008 11:40:02 +0800 (CST) From: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: flz@FreeBSD.org Subject: ports/128775: [PATCH] net-p2p/rtorrent: fix build while no extra patch exists Message-ID: <20081111034002.77CA41EE8@sunpoet.net> Resent-Message-ID: <200811110350.mAB3o1ai000392@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081111034002.77CA41EE8>