summaryrefslogtreecommitdiff
path: root/sysutils/cpuburn
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2002-09-16 22:32:00 +0000
committerabs <abs@pkgsrc.org>2002-09-16 22:32:00 +0000
commit8260d3eb934dc9827d389bfdf3b6dae670def5f0 (patch)
tree67dd29b55766f7c752e40aad358443eb3cd22e99 /sysutils/cpuburn
parent678a95a7839267a81be3901e112dd2bc24ff0003 (diff)
downloadpkgsrc-8260d3eb934dc9827d389bfdf3b6dae670def5f0.tar.gz
Updated cpuburn to 1.4nb1 [abs 2002-09-16]
On NetBSD include /usr/lib/crtbeginS.o to ensure binaries are recognised as native.
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}