diff options
Diffstat (limited to 'benchmarks/netperf/Makefile')
-rw-r--r-- | benchmarks/netperf/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/benchmarks/netperf/Makefile b/benchmarks/netperf/Makefile index eca29c1a2f9..0fc01497e70 100644 --- a/benchmarks/netperf/Makefile +++ b/benchmarks/netperf/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.9 2012/09/11 22:37:13 asau Exp $ +# $NetBSD: Makefile,v 1.10 2014/04/01 11:13:27 adam Exp $ -DISTNAME= netperf-2.4.5 +DISTNAME= netperf-2.6.0 CATEGORIES= benchmarks MASTER_SITES= ftp://ftp.netperf.org/netperf/ EXTRACT_SUFX= .tar.bz2 @@ -8,6 +8,7 @@ EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.netperf.org/ COMMENT= Rick Jones' network performance benchmarking package +LICENSE= modified-bsd GNU_CONFIGURE= yes INFO_FILES= yes @@ -18,10 +19,9 @@ INSTALLATION_DIRS= ${PKGMANDIR}/man1 # The sources assume <malloc.h> exists. Create a fake one for platforms # that don't have it. +.if !exists(/usr/include/malloc.h) post-wrapper: - if ${TEST} ! -f /usr/include/malloc.h; then \ - ${ECHO} "#include <stdlib.h>" \ - > ${BUILDLINK_DIR}/include/malloc.h; \ - fi + ${ECHO} "#include <stdlib.h>" > ${BUILDLINK_DIR}/include/malloc.h +.endif .include "../../mk/bsd.pkg.mk" |