aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-07-19 22:11:31 +0800
committerdanfe <danfe@FreeBSD.org>2013-07-19 22:11:31 +0800
commit8de50281157929af0de9bf114af484373821cdff (patch)
tree3bf733a8c46d8e3a41a0cc7df3ec6288fe1c2364
parent2b2e816444d93ddd57e5cb5a2a072963ae276422 (diff)
downloadfreebsd-ports-gnome-8de50281157929af0de9bf114af484373821cdff.tar.gz
freebsd-ports-gnome-8de50281157929af0de9bf114af484373821cdff.tar.zst
freebsd-ports-gnome-8de50281157929af0de9bf114af484373821cdff.zip
- 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
-rw-r--r--benchmarks/interbench/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/benchmarks/interbench/Makefile b/benchmarks/interbench/Makefile
index 5ffffe198407..6a55906cbf8c 100644
--- a/benchmarks/interbench/Makefile
+++ b/benchmarks/interbench/Makefile
@@ -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@FreeBSD.org
+MAINTAINER= ports@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