From owner-svn-ports-head@freebsd.org Tue Dec 29 18:48:05 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18CCAA553CB; Tue, 29 Dec 2015 18:48:05 +0000 (UTC) (envelope-from junovitch@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C36D71178; Tue, 29 Dec 2015 18:48:04 +0000 (UTC) (envelope-from junovitch@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBTIm3aX036535; Tue, 29 Dec 2015 18:48:03 GMT (envelope-from junovitch@FreeBSD.org) Received: (from junovitch@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBTIm3vV036534; Tue, 29 Dec 2015 18:48:03 GMT (envelope-from junovitch@FreeBSD.org) Message-Id: <201512291848.tBTIm3vV036534@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: junovitch set sender to junovitch@FreeBSD.org using -f From: Jason Unovitch Date: Tue, 29 Dec 2015 18:48:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404774 - head/net-mgmt/collectd5 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Dec 2015 18:48:05 -0000 Author: junovitch Date: Tue Dec 29 18:48:03 2015 New Revision: 404774 URL: https://svnweb.freebsd.org/changeset/ports/404774 Log: net-mgmt/collectd5: finish option helpers conversion - Switch PERL and PYTHON options over and drop the bsd.port.options.mk include following r404759's update to bsd.options.mk PR: 204220 Submitted by: Krzysztof (maintainer) Modified: head/net-mgmt/collectd5/Makefile Modified: head/net-mgmt/collectd5/Makefile ============================================================================== --- head/net-mgmt/collectd5/Makefile Tue Dec 29 18:06:31 2015 (r404773) +++ head/net-mgmt/collectd5/Makefile Tue Dec 29 18:48:03 2015 (r404774) @@ -186,6 +186,10 @@ OPENLDAP_USE= openldap=yes OPENLDAP_CONFIGURE_ENABLE= openldap OPENLDAP_CONFIGURE_WITH= libldap=${LOCALBASE} +PERL_USES= perl5 +PERL_CONFIGURE_ENABLE= perl +PERL_CONFIGURE_WITH= perl=${PERL} perl-bindings + PGSQL_USES= pgsql PGSQL_CONFIGURE_ENABLE= postgresql PGSQL_CONFIGURE_WITH= postgresql=${LOCALBASE} libpq @@ -197,6 +201,10 @@ PING_LIB_DEPENDS= liboping.so:${PORTSDI PING_CONFIGURE_ENABLE= ping PING_CONFIGURE_WITH= liboping=${LOCALBASE} +PYTHON_USES= python:2 +PYTHON_CONFIGURE_ENABLE= python +PYTHON_CONFIGURE_WITH= python=${PYTHON_CMD} + RABBITMQ_LIB_DEPENDS= librabbitmq.so:${PORTSDIR}/net/rabbitmq-c RABBITMQ_CONFIGURE_ENABLE= rabbitmq RABBITMQ_CONFIGURE_WITH= librabbitmq=${LOCALBASE} @@ -313,26 +321,6 @@ CONFIGURE_ARGS+=--enable-aggregation \ INSTALL_TARGET= install-strip SHEBANG_FILES= contrib/collection.cgi -.include - -.if ${PORT_OPTIONS:MPERL} -USES+= perl5 -CONFIGURE_ARGS+=--with-perl=${PERL} --with-perl-bindings --enable-perl -PLIST_SUB+= PERL="" -.else -CONFIGURE_ARGS+=--without-perl --without-perl-bindings --disable-perl -PLIST_SUB+= PERL="@comment " -.endif - -.if ${PORT_OPTIONS:MPYTHON} -USES+= python:2 -CONFIGURE_ARGS+=--with-python=${PYTHON_CMD} --enable-python -PLIST_SUB+= PYTHON="" -.else -CONFIGURE_ARGS+=--without-python --disable-python -PLIST_SUB+= PYTHON="@comment " -.endif - post-patch: @${REINPLACE_CMD} 's/-Werror//' \ ${WRKSRC}/configure.ac ${WRKSRC}/src/Makefile.am \