svn commit: r379678 - head/sysutils/vmtouch
Mikolaj Golub
trociny at FreeBSD.org
Mon Feb 23 14:21:59 UTC 2015
Author: trociny
Date: Mon Feb 23 14:21:58 2015
New Revision: 379678
URL: https://svnweb.freebsd.org/changeset/ports/379678
QAT: https://qat.redports.org/buildarchive/r379678/
Log:
Fix build on platforms without gcc.
Reported by: demon
Modified:
head/sysutils/vmtouch/Makefile
Modified: head/sysutils/vmtouch/Makefile
==============================================================================
--- head/sysutils/vmtouch/Makefile Mon Feb 23 14:19:53 2015 (r379677)
+++ head/sysutils/vmtouch/Makefile Mon Feb 23 14:21:58 2015 (r379678)
@@ -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
More information about the svn-ports-all
mailing list