From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Mar 24 23:50:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id AE7E14EE for ; Sun, 24 Mar 2013 23:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 91A09CB0 for ; Sun, 24 Mar 2013 23:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2ONo0p6069279 for ; Sun, 24 Mar 2013 23:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2ONo0ZA069278; Sun, 24 Mar 2013 23:50:00 GMT (envelope-from gnats) Resent-Date: Sun, 24 Mar 2013 23:50:00 GMT Resent-Message-Id: <201303242350.r2ONo0ZA069278@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Glen Barber Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5B06B2EA for ; Sun, 24 Mar 2013 23:45:12 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 4CE9CC1C for ; Sun, 24 Mar 2013 23:45:12 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r2ONjBT6047218 for ; Sun, 24 Mar 2013 23:45:11 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r2ONjBUc047217; Sun, 24 Mar 2013 23:45:11 GMT (envelope-from nobody) Message-Id: <201303242345.r2ONjBUc047217@red.freebsd.org> Date: Sun, 24 Mar 2013 23:45:11 GMT From: Glen Barber To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/177360: [patch] net-im/twirssi: Allow installation with development irssi port X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Mar 2013 23:50:00 -0000 >Number: 177360 >Category: ports >Synopsis: [patch] net-im/twirssi: Allow installation with development irssi port >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: Sun Mar 24 23:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Glen Barber >Release: FreeBSD 10.0-CURRENT r248659 >Organization: >Environment: FreeBSD nucleus 10.0-CURRENT FreeBSD 10.0-CURRENT #111 r248659: Sat Mar 23 16:49:27 EDT 2013 root@nucleus:/usr/obj/usr/src/sys/NUCLEUS amd64 >Description: net-im/twirssi forces irc/irssi port, while it also works well with irc/irssi-devel port. Add OPTIONS entries to allow selection of development branch of irssi. >How-To-Repeat: >Fix: Patch attached. Patch attached with submission follows: Index: net-im/twirssi/Makefile =================================================================== --- net-im/twirssi/Makefile (revision 315180) +++ net-im/twirssi/Makefile (working copy) @@ -10,11 +10,26 @@ MAINTAINER= garga@FreeBSD.org COMMENT= Twitter script to irssi -RUN_DEPENDS= irssi:${PORTSDIR}/irc/irssi \ - p5-Net-Twitter>=0:${PORTSDIR}/net/p5-Net-Twitter \ +RUN_DEPENDS= p5-Net-Twitter>=0:${PORTSDIR}/net/p5-Net-Twitter \ p5-WWW-Shorten>=0:${PORTSDIR}/www/p5-WWW-Shorten \ p5-WWW-Shorten-Bitly>=0:${PORTSDIR}/www/p5-WWW-Shorten-Bitly +OPTIONS_SINGLE= IRSSIVER +OPTIONS_SINGLE_IRSSIVER=PROD DEVEL +OPTIONS_DEFAULT=PROD +PROD_DESC= Use production irc/irssi port +DEVEL_DESC= Use development irc/irssi-devel port + +.include + +.if ${PORT_OPTIONS:MPROD} +RUN_DEPENDS+= irssi:${PORTSDIR}/irc/irssi +.endif + +.if ${PORT_OPTIONS:MPROD} +RUN_DEPENDS+= irssi:${PORTSDIR}/irc/irssi-devel +.endif + SUB_FILES= pkg-message NO_BUILD= yes @@ -31,4 +46,4 @@ @${INSTALL_SCRIPT} -v ${WRKSRC}/${PORTNAME}.pl ${DATADIR} @${CAT} ${PKGMESSAGE} -.include +.include >Release-Note: >Audit-Trail: >Unformatted: