aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-12-15 01:25:48 +0800
committerwg <wg@FreeBSD.org>2013-12-15 01:25:48 +0800
commit05905cbc1b30f740ca0304195046a609b3426d1f (patch)
treedad6200718f4c95efb47dec22c96221ad5f82d2c /sysutils
parentc9314d894d5871a0cf2d3f9bf31e4d24066e9ca1 (diff)
downloadfreebsd-ports-gnome-05905cbc1b30f740ca0304195046a609b3426d1f.tar.gz
freebsd-ports-gnome-05905cbc1b30f740ca0304195046a609b3426d1f.tar.zst
freebsd-ports-gnome-05905cbc1b30f740ca0304195046a609b3426d1f.zip
sysutils/x86info: fix the usage of python
Reported by: exp-run (PR 184591) Approved by: portmgr (blanket)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/x86info/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysutils/x86info/Makefile b/sysutils/x86info/Makefile
index 25165d50ee61..367e5e52ddb6 100644
--- a/sysutils/x86info/Makefile
+++ b/sysutils/x86info/Makefile
@@ -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>