summaryrefslogtreecommitdiff
path: root/math/yorick
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-10-02 10:58:51 +0000
committerjlam <jlam@pkgsrc.org>2000-10-02 10:58:51 +0000
commit2c4909e15b5f0e87323be15fed39dc6393019417 (patch)
tree22c7e281d9184ef72f188f1f3ce1ae1056f7fd9c /math/yorick
parent18eafc8084517ff9d3bed0031b1dd39c7dbc4f8c (diff)
downloadpkgsrc-2c4909e15b5f0e87323be15fed39dc6393019417.tar.gz
NetBSD/alpha doesn't have <machine/fpu.h> or ieeefp*() functions, so don't
compile that code.
Diffstat (limited to 'math/yorick')
-rw-r--r--math/yorick/Makefile8
-rw-r--r--math/yorick/files/patch-sum3
-rw-r--r--math/yorick/patches/patch-ab13
3 files changed, 19 insertions, 5 deletions
diff --git a/math/yorick/Makefile b/math/yorick/Makefile
index cbee99e5b02..de82a2378be 100644
--- a/math/yorick/Makefile
+++ b/math/yorick/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/08/03 17:49:25 rh Exp $
+# $NetBSD: Makefile,v 1.2 2000/10/02 10:58:51 jlam Exp $
#
DISTNAME= yorick-1.4
@@ -12,8 +12,8 @@ GNU_CONFIGURE= YES
USE_X11= YES
post-install:
- (cd ${WRKSRC}; ${INSTALL_MAN} yorick.1 ${PREFIX}/man/man1)
- (cd ${WRKSRC}; ${INSTALL_MAN} gist.1 ${PREFIX}/man/man1)
- (cd ${WRKSRC}/Yorick; ${PREFIX}/bin/yorick -batch check.i)
+ cd ${WRKSRC} && ${INSTALL_MAN} yorick.1 ${PREFIX}/man/man1
+ cd ${WRKSRC} && ${INSTALL_MAN} gist.1 ${PREFIX}/man/man1
+ cd ${WRKSRC}/Yorick && ${PREFIX}/bin/yorick -batch check.i
.include "../../mk/bsd.pkg.mk"
diff --git a/math/yorick/files/patch-sum b/math/yorick/files/patch-sum
index 758a31f0c97..98568d7cc2b 100644
--- a/math/yorick/files/patch-sum
+++ b/math/yorick/files/patch-sum
@@ -1,3 +1,4 @@
-$NetBSD: patch-sum,v 1.1.1.1 2000/08/03 17:49:25 rh Exp $
+$NetBSD: patch-sum,v 1.2 2000/10/02 10:58:52 jlam Exp $
MD5 (patch-aa) = b934c486220ba44cc6d58fd7bc63bb5c
+MD5 (patch-ab) = 7dcb2d0fdac2be3ea1bd41176473ca10
diff --git a/math/yorick/patches/patch-ab b/math/yorick/patches/patch-ab
new file mode 100644
index 00000000000..fa6bd5dae3a
--- /dev/null
+++ b/math/yorick/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2000/10/02 10:58:52 jlam Exp $
+
+--- Yorick/sysdep.c.orig Wed Dec 18 12:28:30 1996
++++ Yorick/sysdep.c
+@@ -127,7 +127,7 @@
+ fp_trap(FP_TRAP_FASTMODE);
+ fp_enable(TRP_INVALID | TRP_DIV_BY_ZERO | TRP_OVERFLOW);
+ #endif
+-#ifdef __alpha
++#if defined(__alpha) && !defined(__NetBSD__)
+ /* References: exception_intro, ieee man pages */
+ #include <machine/fpu.h>
+ ieee_set_fp_control(IEEE_TRAP_ENABLE_INV | IEEE_TRAP_ENABLE_DZE |