From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Sep 30 20:40:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 84C61E71 for ; Mon, 30 Sep 2013 20:40:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 647ED236F for ; Mon, 30 Sep 2013 20:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8UKe0vZ089563 for ; Mon, 30 Sep 2013 20:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8UKe0pr089562; Mon, 30 Sep 2013 20:40:00 GMT (envelope-from gnats) Resent-Date: Mon, 30 Sep 2013 20:40:00 GMT Resent-Message-Id: <201309302040.r8UKe0pr089562@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, Ade Lovett Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3574EB1A for ; Mon, 30 Sep 2013 20:32:07 +0000 (UTC) (envelope-from ade@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 09A742332 for ; Mon, 30 Sep 2013 20:32:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8UKW6xS089242 for ; Mon, 30 Sep 2013 20:32:06 GMT (envelope-from ade@freefall.freebsd.org) Received: (from ade@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8UKW6CV089241; Mon, 30 Sep 2013 20:32:06 GMT (envelope-from ade) Message-Id: <201309302032.r8UKW6CV089241@freefall.freebsd.org> Date: Mon, 30 Sep 2013 20:32:06 GMT From: Ade Lovett To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/182523: Additional options for irc/hexchat X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Ade Lovett List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 20:40:00 -0000 >Number: 182523 >Category: ports >Synopsis: Additional options for irc/hexchat >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: Mon Sep 30 20:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Ade Lovett >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD freefall.freebsd.org 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r255453: Mon Sep 16 12:43:32 UTC 2013 root@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL amd64 >Description: Currently, irc/hexchat has explicit dependencies on both libproxy and libcanberra, whereas the configure script indicates that these are in fact optional dependencies, and the resulting binary can run quite well without them. This update provides for OPTIONS for both these items, defaulting to ON (so no functionality) is removed, whilst allowing for those that don't have audio on their systems to build what is ostensibly a textual client without bringing in a multitude of additional dependencies (20+ or so on my test system, mainly from everything associated with libcanberra). >How-To-Repeat: >Fix: PORTREVISION bump included for completeness sake -- not strictly necessary. Index: Makefile =================================================================== --- Makefile (revision 328861) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= hexchat PORTVERSION= 2.9.6.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= irc gnome ipv6 MASTER_SITES= http://dl.hexchat.org/${PORTNAME}/ @@ -12,9 +12,6 @@ LICENSE= GPLv2 -LIB_DEPENDS= libproxy.so:${PORTSDIR}/net/libproxy \ - libcanberra.so:${PORTSDIR}/audio/libcanberra - USE_XZ= yes USES= gmake desktop-file-utils pkgconfig USE_GNOME= gtk20 libxml2 @@ -32,12 +29,12 @@ PORTDOCS= * -OPTIONS_DEFINE= DOCS NLS SOCKS XFT TEXTFE PYTHON PERL DOAT FISHLIM DBUS NOTIFY +OPTIONS_DEFINE= DOCS NLS SOCKS XFT TEXTFE PYTHON PERL DOAT FISHLIM DBUS NOTIFY PROXY CANBERRA OPTIONS_RADIO= SPELL OPTIONS_RADIO_SPELL= LIBSEXY GTKSPELL STATIC -OPTIONS_DEFAULT= SOCKS XFT PERL DOAT DBUS NOTIFY LIBSEXY +OPTIONS_DEFAULT= SOCKS XFT PERL DOAT DBUS NOTIFY LIBSEXY PROXY CANBERRA OPTIONS_SUB= yes @@ -47,6 +44,8 @@ STATIC_DESC= Spell checking embedded in the binary LIBSEXY_DESC= Spell checking support via Libsexy GTKSPELL_DESC= Spell checking support via GTKSpell +PROXY_DESC= Proxy support via Libproxy +CANBERRA_DESC= Audio support via Libcanberra NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext @@ -64,6 +63,10 @@ DBUS_CONFIGURE_ENABLE= dbus NOTIFY_RUN_DEPENDS= notify-send:${PORTSDIR}/devel/libnotify NOTIFY_CONFIGURE_ENABLE= libnotify +PROXY_LIB_DEPENDS= libproxy.so:${PORTSDIR}/net/libproxy +PROXY_CONFIGURE_ENABLE= libproxy +CANBERRA_LIB_DEPENDS= libcanberra.so:${PORTSDIR}/audio/libcanberra +CANBERRA_CONFIGURE_ENABLE= libcanberra NO_STAGE= yes .include >Release-Note: >Audit-Trail: >Unformatted: