[Bug 237199] net-im/libpurple: do not always depend on python (2.7)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 11 11:40:58 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237199

            Bug ID: 237199
           Summary: net-im/libpurple: do not always depend on python (2.7)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: marcus at FreeBSD.org
          Reporter: gahr at FreeBSD.org
          Assignee: marcus at FreeBSD.org
             Flags: maintainer-feedback?(marcus at FreeBSD.org)

Libpurple needs python only to generate DBUS files, and can do that with 3.6 as
well as 2.7.

Please approve the following diff, to depend on python (whatever default
version) only when building DBUS. Thanks.

Index: Makefile
===================================================================
--- Makefile    (revision 498663)
+++ Makefile    (working copy)
@@ -3,7 +3,7 @@


 PORTNAME?=     libpurple
 PORTVERSION=   2.13.0
-PORTREVISION=  1
+PORTREVISION=  2
 CATEGORIES?=   net-im
 MASTER_SITES=  SF/pidgin/Pidgin/${PORTVERSION}
 DISTNAME=      pidgin-${PORTVERSION}
@@ -24,7 +24,7 @@
 .if !defined(PIDGIN_SLAVE)
 # Pidgin slave ports that require the following functionality, must explicitly
 # set these macros themselves.
-USES+=         iconv python:2.7 shebangfix
+USES+=         iconv shebangfix
 USE_LDCONFIG=  yes
 SHEBANG_FILES= libpurple/purple-remote \
                libpurple/purple-url-handler
@@ -206,11 +206,12 @@
 .endif


 .if ${PORT_OPTIONS:MDBUS}
+USES+=                 python
 LIB_DEPENDS+=          libdbus-glib-1.so:devel/dbus-glib
 .if !defined(PIDGIN_SLAVE)
 RUN_DEPENDS+=         
${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR}
 .endif
-CONFIGURE_ARGS+=       --enable-dbus
+CONFIGURE_ARGS+=       --enable-dbus --with-python=${PYTHON_CMD}
 PLIST_SUB+=            DBUS=""
 .else
 CONFIGURE_ARGS+=       --disable-dbus

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list