svn commit: r336461 - head/sysutils/x86info

William Grzybowski wg at FreeBSD.org
Sat Dec 14 17:25:48 UTC 2013


Author: wg
Date: Sat Dec 14 17:25:48 2013
New Revision: 336461
URL: http://svnweb.freebsd.org/changeset/ports/336461

Log:
  sysutils/x86info: fix the usage of python
  
  Reported by:	exp-run (PR 184591)
  Approved by:	portmgr (blanket)

Modified:
  head/sysutils/x86info/Makefile

Modified: head/sysutils/x86info/Makefile
==============================================================================
--- head/sysutils/x86info/Makefile	Sat Dec 14 17:09:34 2013	(r336460)
+++ head/sysutils/x86info/Makefile	Sat Dec 14 17:25:48 2013	(r336461)
@@ -28,4 +28,9 @@ do-install:
 	${INSTALL_MAN} ${WRKSRC}/x86info.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
 	${INSTALL_MAN} ${WRKSRC}/lsmsr.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
 
+post-patch:
+	@${REINPLACE_CMD} \
+		-e 's|python scripts/createheader.py|${PYTHON_CMD} scripts/createheader.py|' \
+		${WRKSRC}/Makefile
+
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list