svn commit: r545081 - in head/databases/py-carbon: . files

Steve Wills swills at FreeBSD.org
Sat Aug 15 23:15:50 UTC 2020


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"


More information about the svn-ports-head mailing list