svn commit: r323295 - head/benchmarks/interbench
Alexey Dokuchaev
danfe at FreeBSD.org
Fri Jul 19 14:11:31 UTC 2013
Author: danfe
Date: Fri Jul 19 14:11:31 2013
New Revision: 323295
URL: http://svnweb.freebsd.org/changeset/ports/323295
Log:
- Unbreak parallel builds by separating cleaning and building
- Sort the knobs a bit while I am here
- Remove the check for old, unsupported versions of FreeBSD
- Relinquish control of the port, it's pretty safe to fly solo
Reported by: pointyhat-west
Modified:
head/benchmarks/interbench/Makefile
Modified: head/benchmarks/interbench/Makefile
==============================================================================
--- head/benchmarks/interbench/Makefile Fri Jul 19 14:09:28 2013 (r323294)
+++ head/benchmarks/interbench/Makefile Fri Jul 19 14:11:31 2013 (r323295)
@@ -4,17 +4,17 @@
PORTNAME= interbench
DISTVERSION= 0.31
CATEGORIES= benchmarks
-MASTER_SITES= http://ck.kolivas.org/apps/interbench/
+MASTER_SITES= http://ck.kolivas.org/apps/${PORTNAME}/
-MAINTAINER= danfe at FreeBSD.org
+MAINTAINER= ports at FreeBSD.org
COMMENT= Interactivity benchmark for Unix-like systems
LICENSE= GPLv2
USE_BZIP2= yes
-USE_GMAKE= yes
-ALL_TARGET= clean ${PORTNAME}
+USES= gmake
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
+ALL_TARGET= ${PORTNAME}
MAN8= ${PORTNAME}.8
PLIST_FILES= bin/${PORTNAME}
@@ -24,15 +24,16 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
-.if ${OSVERSION} < 800000
-BROKEN= does not build, requires sqrtl(3)
-.endif
-
post-patch:
# Do not confuse the reader that this program is Linux-specific
@${REINPLACE_CMD} -e '/kernel/!s,Linux,Unix-like systems, ; \
/kernel/s,Linux,the,' ${WRKSRC}/${MAN8}
+pre-build:
+# Remove stale Linuxish object files and binaries; setting ALL_TARGET to
+# "clean ${PORTNAME}" turned out to be racy and breaking parallel builds
+ ${MAKE} -C ${BUILD_WRKSRC} clean
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN8} ${MANPREFIX}/man/man8
More information about the svn-ports-all
mailing list