Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Aug 2020 23:15:49 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r545081 - in head/databases/py-carbon: . files
Message-ID:  <202008152315.07FNFnrX063467@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sat Aug 15 23:15:48 2020
New Revision: 545081
URL: https://svnweb.freebsd.org/changeset/ports/545081

Log:
  databases/py-carbon: Fix rc script for python3
  
  PR:		248413
  Submitted by:	brd

Modified:
  head/databases/py-carbon/Makefile   (contents, props changed)
  head/databases/py-carbon/files/carbon.in

Modified: head/databases/py-carbon/Makefile
==============================================================================
--- head/databases/py-carbon/Makefile	Sat Aug 15 23:08:17 2020	(r545080)
+++ head/databases/py-carbon/Makefile	Sat Aug 15 23:15:48 2020	(r545081)
@@ -3,6 +3,7 @@
 
 PORTNAME=	carbon
 PORTVERSION=	1.1.7
+PORTREVISION=	1
 CATEGORIES=	databases python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -26,6 +27,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	graphite-project
 
 MAKE_ENV=	GRAPHITE_NO_PREFIX=yes
+SUB_LIST=	PYTHON_CMD=${PYTHON_CMD}
 
 NO_ARCH=	yes
 

Modified: head/databases/py-carbon/files/carbon.in
==============================================================================
--- head/databases/py-carbon/files/carbon.in	Sat Aug 15 23:08:17 2020	(r545080)
+++ head/databases/py-carbon/files/carbon.in	Sat Aug 15 23:15:48 2020	(r545081)
@@ -96,7 +96,7 @@ stop_cmd="${name}_stop"
 required_files="${carbon_conf} %%PREFIX%%/etc/carbon/storage-schemas.conf"
 
 pidfile=${carbon_pidfile}
-command_interpreter="%%PREFIX%%/bin/python2.7"
+command_interpreter="%%PYTHON_CMD%%"
 
 if is_carbon_relay; then
     command="%%PREFIX%%/bin/carbon-relay.py"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008152315.07FNFnrX063467>