ports/180838: [PATCH] net-mgmt/collectd5: fix PYTHON option
William Grzybowski
wg at FreeBSD.org
Thu Jul 25 13:10:02 UTC 2013
>Number: 180838
>Category: ports
>Synopsis: [PATCH] net-mgmt/collectd5: fix PYTHON option
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 25 13:10:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: William Grzybowski
>Release: FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 10.0-CURRENT FreeBSD 10.0-CURRENT #1 r251226: Sat Jun 1 21:56:43 UTC 2013 peter at freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL amd64
>Description:
Fix PYTHON option (wont build), add NOTIFYEMAIL missing in OPTIONS_DEFINE
>How-To-Repeat:
>Fix:
See attached patch
--- collectd5.patch begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 323639)
+++ Makefile (working copy)
@@ -3,7 +3,7 @@
PORTNAME= collectd
PORTVERSION= 5.3.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net-mgmt
MASTER_SITES= http://collectd.org/files/
@@ -17,7 +17,7 @@
LATEST_LINK= collectd5
-OPTIONS_DEFINE= CGI CURL DEBUG DBI GCRYPT JSON MEMCACHEC MODBUS MYSQL NUTUPS PGSQL PING PYTHON REDIS ROUTEROS RRDTOOL SNMP STATGRAB TOKYOTYRANT VIRT XML XMMS
+OPTIONS_DEFINE= CGI CURL DEBUG DBI GCRYPT JSON MEMCACHEC MODBUS MYSQL NOTIFYEMAIL NUTUPS PGSQL PING PYTHON REDIS ROUTEROS RRDTOOL SNMP STATGRAB TOKYOTYRANT VIRT XML XMMS
CGI_DESC= Install collection.cgi (requires rrdtool)
CURL_DESC= Enable curl-based plugins (apache, nginx, etc)
@@ -99,7 +99,6 @@
--without-libyajl \
--without-oracle \
--without-perl-bindings \
- --without-python
# NOTE: Plugins without external dependencies
CONFIGURE_ARGS+= \
@@ -275,9 +274,10 @@
.if ${PORT_OPTIONS:MPYTHON}
USE_PYTHON= yes
-CONFIGURE_ARGS+=--with-python=${LOCALBASE} --enable-python
+CONFIGURE_ARGS+=--with-python=${PYTHON_CMD} --enable-python
PLIST_SUB+= PYTHON=""
.else
+CONFIGURE_ARGS+=--without-python
PLIST_SUB+= PYTHON="@comment "
.endif
--- collectd5.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list