Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2013 19:19:06 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336474 - head/x11-fm/twander
Message-ID:  <201312141919.rBEJJ6G3014212@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Sat Dec 14 19:19:06 2013
New Revision: 336474
URL: http://svnweb.freebsd.org/changeset/ports/336474

Log:
  x11-fm/twander: fix usage of python
  
  Reported by:	exp-run (PR 184591)
  Approved by:	portmgr (blanket)

Modified:
  head/x11-fm/twander/Makefile

Modified: head/x11-fm/twander/Makefile
==============================================================================
--- head/x11-fm/twander/Makefile	Sat Dec 14 19:09:34 2013	(r336473)
+++ head/x11-fm/twander/Makefile	Sat Dec 14 19:19:06 2013	(r336474)
@@ -27,4 +27,12 @@ post-install:
 .endfor
 .endif
 
+post-patch:
+	@${REINPLACE_CMD} \
+		-e 's|/usr/bin/env python|${PYTHON_CMD}|' \
+		${WRKSRC}/twander.py
+	@${REINPLACE_CMD} \
+		-e 's|python |${PYTHON_CMD} |' \
+		${WRKSRC}/Makefile
+
 .include <bsd.port.mk>



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