summaryrefslogtreecommitdiff
path: root/sysutils/cpuburn
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cpuburn')
-rw-r--r--sysutils/cpuburn/Makefile5
-rw-r--r--sysutils/cpuburn/distinfo3
-rw-r--r--sysutils/cpuburn/patches/patch-aa16
3 files changed, 21 insertions, 3 deletions
diff --git a/sysutils/cpuburn/Makefile b/sysutils/cpuburn/Makefile
index f1f62eed19e..430efe56b36 100644
--- a/sysutils/cpuburn/Makefile
+++ b/sysutils/cpuburn/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/03/04 20:06:57 abs Exp $
+# $NetBSD: Makefile,v 1.2 2002/09/16 22:32:00 abs Exp $
#
DISTNAME= cpuburn_1_4
PKGNAME= cpuburn-1.4
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://users.ev1.net/~redelm/
EXTRACT_SUFX= _tar.gz
@@ -13,7 +14,7 @@ COMMENT= CPU load testing utilities for Pentium pro and later
ONLY_FOR_PLATFORM= *-*-i386
EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} | ${GTAR} -xf -
-WRKSRC= ${WRKDIR}/${PKGNAME}
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/burnBX ${PREFIX}/bin/burnBX
diff --git a/sysutils/cpuburn/distinfo b/sysutils/cpuburn/distinfo
index 0e3401039e9..fb31e8634b6 100644
--- a/sysutils/cpuburn/distinfo
+++ b/sysutils/cpuburn/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.2 2002/07/02 13:02:19 wiz Exp $
+$NetBSD: distinfo,v 1.3 2002/09/16 22:32:00 abs Exp $
SHA1 (cpuburn_1_4_tar.gz) = 291e163d17ce528fd8301f821babed74d9caffaf
Size (cpuburn_1_4_tar.gz) = 7373 bytes
+SHA1 (patch-aa) = 76f2904a27da9e8f570a83e76560868a1da380d4
diff --git a/sysutils/cpuburn/patches/patch-aa b/sysutils/cpuburn/patches/patch-aa
new file mode 100644
index 00000000000..c1a4eb699a0
--- /dev/null
+++ b/sysutils/cpuburn/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1 2002/09/16 22:32:00 abs Exp $
+
+--- Makefile.orig Sat Jun 16 04:39:17 2001
++++ Makefile
+@@ -1,3 +1,10 @@
++OPSYS!= uname -s
++# On NetBSD crtbeginS.o includes the ELF note that tags the binary as native
++.if (${OPSYS} == NetBSD)
++EXTRALINK=/usr/lib/crtbeginS.o
++.endif
++
+ all : burnP5 burnP6 burnK6 burnK7 burnBX burnMMX
++
+ .S:
+- gcc -s -nostdlib -o $@ $<
++ gcc -s -nostdlib -o $@ $< ${EXTRALINK}