diff options
author | jlam <jlam> | 2000-10-02 10:58:51 +0000 |
---|---|---|
committer | jlam <jlam> | 2000-10-02 10:58:51 +0000 |
commit | d81069fefde8192fcc3f2680256aff63f66692c8 (patch) | |
tree | 22c7e281d9184ef72f188f1f3ce1ae1056f7fd9c /math | |
parent | 35c4e169485e7b9407023b128b82bd4ce9c6ffd6 (diff) | |
download | pkgsrc-d81069fefde8192fcc3f2680256aff63f66692c8.tar.gz |
NetBSD/alpha doesn't have <machine/fpu.h> or ieeefp*() functions, so don't
compile that code.
Diffstat (limited to 'math')
-rw-r--r-- | math/yorick/Makefile | 8 | ||||
-rw-r--r-- | math/yorick/files/patch-sum | 3 | ||||
-rw-r--r-- | math/yorick/patches/patch-ab | 13 |
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 | |