From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Apr 12 08:30:10 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFF12106564A for ; Tue, 12 Apr 2011 08:30:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 964448FC18 for ; Tue, 12 Apr 2011 08:30:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3C8UAos027026 for ; Tue, 12 Apr 2011 08:30:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3C8UA1v027024; Tue, 12 Apr 2011 08:30:10 GMT (envelope-from gnats) Resent-Date: Tue, 12 Apr 2011 08:30:10 GMT Resent-Message-Id: <201104120830.p3C8UA1v027024@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, David Demelier Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 718E71065678 for ; Tue, 12 Apr 2011 08:20:32 +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 63C498FC1C for ; Tue, 12 Apr 2011 08:20:32 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p3C8KWZp023925 for ; Tue, 12 Apr 2011 08:20:32 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p3C8KWKD023924; Tue, 12 Apr 2011 08:20:32 GMT (envelope-from nobody) Message-Id: <201104120820.p3C8KWKD023924@red.freebsd.org> Date: Tue, 12 Apr 2011 08:20:32 GMT From: David Demelier To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/156345: [patch] net-im/gajim: options and dbus as optional X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 08:30:10 -0000 >Number: 156345 >Category: ports >Synopsis: [patch] net-im/gajim: options and dbus as optional >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 Apr 12 08:30:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: David Demelier >Release: 8.2-RELEASE >Organization: >Environment: FreeBSD Melon.malikania.fr 8.2-RELEASE FreeBSD 8.2-RELEASE #35: Fri Mar 25 08:18:02 CET 2011 root@Melon.malikania.fr:/usr/obj/usr/src/sys/Melon amd64 >Description: net-im/gajim can works without dbus so the changement applied to the Makefile : o Added an optional option for dbus o Switch to the OPTIONS framework while we are >How-To-Repeat: >Fix: --- gajim.diff begins here --- --- Makefile.orig 2011-04-12 10:11:40.000000000 +0200 +++ Makefile 2011-04-12 10:16:22.000000000 +0200 @@ -13,10 +13,8 @@ MAINTAINER= dsh@bamus.cz COMMENT= Gajim is a Jabber client based on a plugin system -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.82.2:${PORTSDIR}/devel/py-dbus LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell RUN_DEPENDS= ${PYTHON_SITELIBDIR}/OpenSSL/SSL.so:${PORTSDIR}/security/py-openssl \ - ${PYTHON_PKGNAMEPREFIX}dbus>=0.82.2:${PORTSDIR}/devel/py-dbus \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=${PYTHON_PORTVERSION}:${PORTSDIR}/databases/py-sqlite3 GNU_CONFIGURE= yes @@ -30,6 +28,11 @@ CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" PYTHON=${PYTHON_CMD} +OPTIONS= DBUS "Adds support for D-Bus (Desktop Bus)" On \ + NLS "Native Language Support via gettext utilities" On + +.include + .if !defined(WITHOUT_NLS) USE_GETTEXT= yes PLIST_SUB+= NLS="" @@ -38,6 +41,11 @@ PLIST_SUB+= NLS="@comment " .endif +.if !defined(WITHOUT_DBUS) +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.82.2:${PORTSDIR}/devel/py-dbus +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>=0.82.2:${PORTSDIR}/devel/py-dbus +.endif + MAN1= gajim.1 gajim-remote.1 gajim-history-manager.1 EMOTICONS= animated static static-big tango --- gajim.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: