Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Mar 2020 19:56:08 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r528869 - in head/deskutils/calibre: . files
Message-ID:  <202003211956.02LJu8FR069915@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Sat Mar 21 19:56:08 2020
New Revision: 528869
URL: https://svnweb.freebsd.org/changeset/ports/528869

Log:
  Put correct python interpreter in calibre startup script.
  
  Reported by:	Alexander Leidinger <Alexander@leidinger.net>

Modified:
  head/deskutils/calibre/Makefile
  head/deskutils/calibre/files/calibre.in

Modified: head/deskutils/calibre/Makefile
==============================================================================
--- head/deskutils/calibre/Makefile	Sat Mar 21 19:49:28 2020	(r528868)
+++ head/deskutils/calibre/Makefile	Sat Mar 21 19:56:08 2020	(r528869)
@@ -53,6 +53,7 @@ USES=		desktop-file-utils gettext-runtime gl gnome loc
 		pkgconfig pyqt:5 qt:5 shared-mime-info shebangfix \
 		ssl tar:xz xorg
 USE_RC_SUBR=	calibre
+SUB_LIST+=	PYTHON_VERSION=${PYTHON_VERSION}
 USE_PYQT=	core gui network sip svg webengine widgets xmlpatterns
 USE_QT=		buildtools_build core dbus gui qmake_build widgets
 USE_GL=		egl gl

Modified: head/deskutils/calibre/files/calibre.in
==============================================================================
--- head/deskutils/calibre/files/calibre.in	Sat Mar 21 19:49:28 2020	(r528868)
+++ head/deskutils/calibre/files/calibre.in	Sat Mar 21 19:56:08 2020	(r528869)
@@ -46,7 +46,7 @@ load_rc_config $name
 
 pidfile=/var/run/${name}/${name}.pid
 command=%%PREFIX%%/bin/calibre-server
-command_interpreter=%%LOCALBASE%%/bin/python2.7
+command_interpreter=%%LOCALBASE%%/bin/%%PYTHON_VERSION%%
 required_dirs=${calibre_library}
 
 start_precmd=calibre_prestart



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