Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Mar 2018 07:11:12 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r463285 - head/misc/gonvert
Message-ID:  <201803010711.w217BCuc075570@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Thu Mar  1 07:11:11 2018
New Revision: 463285
URL: https://svnweb.freebsd.org/changeset/ports/463285

Log:
  misc/gonvert: Unbroke the port
  
  Fixed the python shebang.
  
  Approved by:	tcberner (mentor, implicit)
  Approved by:	portmgr (port compliance, infrastructure)

Modified:
  head/misc/gonvert/Makefile

Modified: head/misc/gonvert/Makefile
==============================================================================
--- head/misc/gonvert/Makefile	Thu Mar  1 06:59:42 2018	(r463284)
+++ head/misc/gonvert/Makefile	Thu Mar  1 07:11:11 2018	(r463285)
@@ -24,7 +24,7 @@ NLS_CONFIGURE_ENABLE=	nls
 NLS_USES=	gettext
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|#!/usr/bin/python|#!/usr/bin/env python|g ; \
+	@${REINPLACE_CMD} -e 's|#!/usr/bin/python|#!${PYTHON_CMD}| ; \
 		 s|/usr/share|${PREFIX}/share|g ; \
 		 s|/\.\./pixmaps/|/pixmaps/|g' ${WRKSRC}/gonvert
 



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