ports/156345: [patch] net-im/gajim: options and dbus as optional
David Demelier
demelier.david at gmail.com
Tue Apr 12 08:30:10 UTC 2011
>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 at 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 at 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 <bsd.port.options.mk>
+
.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:
More information about the freebsd-ports-bugs
mailing list