aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-12-14 17:25:48 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-12-14 17:25:48 +0000
commitf94e022a289af4bccdda8057cd975aec3575e486 (patch)
treedad6200718f4c95efb47dec22c96221ad5f82d2c /sysutils
parent97b3264b5398f27ec50aad810ad85372e1df1122 (diff)
downloadports-f94e022a289af4bccdda8057cd975aec3575e486.tar.gz
ports-f94e022a289af4bccdda8057cd975aec3575e486.zip
sysutils/x86info: fix the usage of python
Reported by: exp-run (PR 184591) Approved by: portmgr (blanket)
Notes
Notes: svn path=/head/; revision=336461
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>