aboutsummaryrefslogtreecommitdiff
path: root/sysutils/vmtouch
diff options
context:
space:
mode:
authorMikolaj Golub <trociny@FreeBSD.org>2015-02-23 14:21:58 +0000
committerMikolaj Golub <trociny@FreeBSD.org>2015-02-23 14:21:58 +0000
commit646a8ed753345a42ec36f25b31e3b895020039b5 (patch)
treefc760ab4e558fe0e6ec2f3157b126b965dae1e8f /sysutils/vmtouch
parentd67c68c8e7c4926ecbae34ebb60fd08eaa8f2048 (diff)
downloadports-646a8ed753345a42ec36f25b31e3b895020039b5.tar.gz
ports-646a8ed753345a42ec36f25b31e3b895020039b5.zip
Fix build on platforms without gcc.
Reported by: demon
Notes
Notes: svn path=/head/; revision=379678
Diffstat (limited to 'sysutils/vmtouch')
-rw-r--r--sysutils/vmtouch/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysutils/vmtouch/Makefile b/sysutils/vmtouch/Makefile
index 668328e0dd13..4bded8a6d8cc 100644
--- a/sysutils/vmtouch/Makefile
+++ b/sysutils/vmtouch/Makefile
@@ -17,6 +17,9 @@ GH_COMMIT= a54935b
PLIST_FILES= bin/vmtouch \
man/man8/vmtouch.8.gz
+post-patch:
+ @${REINPLACE_CMD} -e 's/^ gcc / cc /' ${WRKSRC}/Makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vmtouch ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/vmtouch.8 ${STAGEDIR}${PREFIX}/man/man8