pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/guile add sparc support provided by Julian Colema...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e571a1e58a4b
branches:  trunk
changeset: 463782:e571a1e58a4b
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Wed Nov 26 22:13:58 2003 +0000

description:
add sparc support provided by Julian Coleman in PR23533.  While here
also add logic for NetBSD/alpha.

diffstat:

 lang/guile/Makefile         |   5 ++++-
 lang/guile/distinfo         |   4 ++--
 lang/guile/patches/patch-ae |  30 +++++++++++++++++++++++++++---
 3 files changed, 33 insertions(+), 6 deletions(-)

diffs (77 lines):

diff -r 7f160aea9b40 -r e571a1e58a4b lang/guile/Makefile
--- a/lang/guile/Makefile       Wed Nov 26 21:22:12 2003 +0000
+++ b/lang/guile/Makefile       Wed Nov 26 22:13:58 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2003/09/28 09:13:57 jlam Exp $
+# $NetBSD: Makefile,v 1.47 2003/11/26 22:13:58 dmcmahill Exp $
 
 DISTNAME=              guile-1.6.3
 #PKGREVISION=          1
@@ -26,6 +26,9 @@
 USE_MAKEINFO=          YES
 INFO_FILES=            guile.info guile-tut.info goops.info r5rs.info
 
+TEST_DIRS=             ${WRKSRC}
+TEST_TARGET=           check
+
 .include "../../devel/libtool/buildlink2.mk"
 .include "../../devel/ncurses/buildlink2.mk"
 .include "../../devel/readline/buildlink2.mk"
diff -r 7f160aea9b40 -r e571a1e58a4b lang/guile/distinfo
--- a/lang/guile/distinfo       Wed Nov 26 21:22:12 2003 +0000
+++ b/lang/guile/distinfo       Wed Nov 26 22:13:58 2003 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.13 2003/02/21 12:03:30 mycroft Exp $
+$NetBSD: distinfo,v 1.14 2003/11/26 22:13:58 dmcmahill Exp $
 
 SHA1 (guile-1.6.3.tar.gz) = 6b699dd79f41aa4f3555f70286f51f3824e4617e
 Size (guile-1.6.3.tar.gz) = 2780882 bytes
 SHA1 (patch-ad) = 180cb9e0f5dcd3e53f0b3b17d1ac0fc5016c1e36
-SHA1 (patch-ae) = 7f71ba48cd9025c10337771ce62f5fa257b66b67
+SHA1 (patch-ae) = 03473b090ad54005360224a6d357eb8e1fb91cae
 SHA1 (patch-af) = 7d4f1934fe57efb4f8803f5e68e6a13569e836c0
 SHA1 (patch-ag) = 33735111e799c529f42cfa97a71be8dfaa56aa8b
 SHA1 (patch-ah) = e66596a5ecc5c2d4fd09833507499b4d02c7af8a
diff -r 7f160aea9b40 -r e571a1e58a4b lang/guile/patches/patch-ae
--- a/lang/guile/patches/patch-ae       Wed Nov 26 21:22:12 2003 +0000
+++ b/lang/guile/patches/patch-ae       Wed Nov 26 22:13:58 2003 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ae,v 1.4 2003/01/21 15:17:55 wiz Exp $
+$NetBSD: patch-ae,v 1.5 2003/11/26 22:13:58 dmcmahill Exp $
 
---- libguile/gc_os_dep.c.orig  Sat Dec  7 23:41:31 2002
+--- libguile/gc_os_dep.c.orig  Sat Dec  7 22:41:31 2002
 +++ libguile/gc_os_dep.c
-@@ -93,6 +93,11 @@ typedef int GC_bool;
+@@ -93,11 +93,26 @@ typedef int GC_bool;
  #    define OPENBSD
  #    define mach_type_known
  # endif
@@ -14,3 +14,27 @@
  # if defined(__NetBSD__) && defined(m68k)
  #    define M68K
  #    define NETBSD
+ #    define mach_type_known
+ # endif
++# if defined(__NetBSD__) && (defined(__sparc__) || defined(__sparc_v9__))
++#    define SPARC
++#    define NETBSD
++#    define mach_type_known
++# endif
++# if defined(__NetBSD__) && defined(__alpha__)
++#    define ALPHA
++#    define NETBSD
++#    define mach_type_known
++# endif
+ # if defined(__NetBSD__) && defined(arm32)
+ #    define ARM32
+ #    define NETBSD
+@@ -217,7 +232,7 @@ typedef int GC_bool;
+ # endif
+ # if defined(__alpha) || defined(__alpha__)
+ #   define ALPHA
+-#   if !defined(LINUX)
++#   if !defined(LINUX) && !defined(NETBSD)
+ #     define OSF1     /* a.k.a Digital Unix */
+ #   endif
+ #   define mach_type_known



Home | Main Index | Thread Index | Old Index