pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ksi The package was marked broken because it kept...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8eb7c9003567
branches:  trunk
changeset: 466184:8eb7c9003567
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Mon Jan 12 21:50:07 2004 +0000

description:
The package was marked broken because it kept throwing SIGSEGV due to
using an old boehm-gc that does not work on NetBSD.

Unbreak it by changing it to use the devel/boehm-gc package.

PKGREVISION++.

diffstat:

 lang/ksi/Makefile         |   6 +++---
 lang/ksi/PLIST            |  23 +----------------------
 lang/ksi/distinfo         |   4 +++-
 lang/ksi/patches/patch-ab |  22 ++++++++++++++++++++++
 lang/ksi/patches/patch-ac |  22 ++++++++++++++++++++++
 5 files changed, 51 insertions(+), 26 deletions(-)

diffs (126 lines):

diff -r 07bec00f96da -r 8eb7c9003567 lang/ksi/Makefile
--- a/lang/ksi/Makefile Mon Jan 12 21:33:52 2004 +0000
+++ b/lang/ksi/Makefile Mon Jan 12 21:50:07 2004 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2003/12/09 12:17:35 agc Exp $
+# $NetBSD: Makefile,v 1.3 2004/01/12 21:50:07 kristerw Exp $
 
 DISTNAME=              ksi-3.4.1
+PKGREVISION=           1
 CATEGORIES=            lang
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=ksi/}
 
@@ -19,8 +20,7 @@
 USE_MAKEINFO=          YES
 INFO_FILES=            ksi-lang.info ksi-lib.info ksi.info
 
-BROKEN=                        throws SIGSEGV when invoking ksi interpreter during build
-
+.include "../../devel/boehm-gc/buildlink2.mk"
 .include "../../devel/readline/buildlink2.mk"
 .include "../../devel/zlib/buildlink2.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 07bec00f96da -r 8eb7c9003567 lang/ksi/PLIST
--- a/lang/ksi/PLIST    Mon Jan 12 21:33:52 2004 +0000
+++ b/lang/ksi/PLIST    Mon Jan 12 21:50:07 2004 +0000
@@ -1,10 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/08/30 21:23:43 jtb Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/01/12 21:50:07 kristerw Exp $
 bin/ksi
 bin/ksi-compile
 bin/ksi-config
-include/ksi/gc.h
-include/ksi/gc_cpp.h
-include/ksi/gc_typed.h
 include/ksi/ksi.h
 include/ksi/ksi_conf.h
 include/ksi/ksi_ext.h
@@ -16,24 +13,6 @@
 include/ksi/ksi_ver.h
 include/ksi/ksi_vtab.h
 include/ksi/ksi_z.h
-info/ksi-lang.info
-info/ksi-lang.info-1
-info/ksi-lang.info-2
-info/ksi-lang.info-3
-info/ksi-lang.info-4
-info/ksi-lang.info-5
-info/ksi-lang.info-6
-info/ksi-lang.info-7
-info/ksi-lib.info
-info/ksi-lib.info-1
-info/ksi-lib.info-2
-info/ksi-lib.info-3
-info/ksi.info
-lib/ksi/libgc.a
-lib/ksi/libgc.la
-lib/ksi/libgc.so
-lib/ksi/libgc.so.1
-lib/ksi/libgc.so.1.1
 lib/ksi/libksi.a
 lib/ksi/libksi.la
 lib/ksi/libksi.so
diff -r 07bec00f96da -r 8eb7c9003567 lang/ksi/distinfo
--- a/lang/ksi/distinfo Mon Jan 12 21:33:52 2004 +0000
+++ b/lang/ksi/distinfo Mon Jan 12 21:50:07 2004 +0000
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/08/30 21:23:44 jtb Exp $
+$NetBSD: distinfo,v 1.2 2004/01/12 21:50:07 kristerw Exp $
 
 SHA1 (ksi-3.4.1.tar.gz) = 8ebba1e0775f29bce2662716ea8cc7d0ab0fe778
 Size (ksi-3.4.1.tar.gz) = 1509920 bytes
 SHA1 (patch-aa) = b361c1dd64726cac15f3c0aea469f45cb433a044
+SHA1 (patch-ab) = fca89ed52700affeb0af65554c88d9b106f6e600
+SHA1 (patch-ac) = 99d375ae5035b52776b9e373ff382187c2040da8
diff -r 07bec00f96da -r 8eb7c9003567 lang/ksi/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/ksi/patches/patch-ab Mon Jan 12 21:50:07 2004 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1 2004/01/12 21:50:07 kristerw Exp $
+
+--- Makefile.in.orig   Mon Jan 12 22:06:06 2004
++++ Makefile.in        Mon Jan 12 22:06:23 2004
+@@ -98,7 +98,7 @@
+ @NOT_COMPILE_EXAMPLES_TRUE@examples_subdir = 
+ @NOT_COMPILE_EXAMPLES_FALSE@examples_subdir = example
+ 
+-SUBDIRS = gc_build si interp lib ext doc $(examples_subdir) 
++SUBDIRS = si interp lib ext doc $(examples_subdir) 
+ 
+ bin_SCRIPTS = ksi-config
+ 
+@@ -119,7 +119,7 @@
+ 
+ TAR = tar
+ GZIP_ENV = --best
+-DIST_SUBDIRS =  gc_build si interp lib ext doc example
++DIST_SUBDIRS =  si interp lib ext doc example
+ all: all-redirect
+ .SUFFIXES:
+ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
diff -r 07bec00f96da -r 8eb7c9003567 lang/ksi/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/ksi/patches/patch-ac Mon Jan 12 21:50:07 2004 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1 2004/01/12 21:50:07 kristerw Exp $
+
+--- si/Makefile.in.orig        Mon Jan 12 22:07:27 2004
++++ si/Makefile.in     Mon Jan 12 22:12:45 2004
+@@ -120,7 +120,7 @@
+ revision = 0
+ age = 0
+ 
+-libksi_la_LIBADD = $(top_builddir)/gc_build/libgc.la @KSI_LIBS@ @LTLIBOBJS@
++libksi_la_LIBADD = $(BUILDLINK_DIR)/lib/libgc.la @KSI_LIBS@ @LTLIBOBJS@
+ libksi_la_LDFLAGS = -version-info $(current):$(revision):$(age)
+ 
+ ksi_ver_vars = 'KSI_VERSION "$(KSI_VERSION)"'     'KSI_MAJOR_VERSION $(KSI_MAJOR_VERSION)'     'KSI_MINOR_VERSION $(KSI_MINOR_VERSION)'     'KSI_PATCH_LEVEL $(KSI_PATCH_LEVEL)'     'KSI_CPU 
"$(KSI_CPU)"'     'KSI_OS "$(KSI_OS)"'
+@@ -140,7 +140,7 @@
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+-libksi_la_DEPENDENCIES =  $(top_builddir)/gc_build/libgc.la @LTLIBOBJS@
++libksi_la_DEPENDENCIES =  $(BUILDLINK_DIR)/lib/libgc.la @LTLIBOBJS@
+ libksi_la_OBJECTS =  ksi_gc.lo ksi_jump.lo ksi_shel.lo ksi_time.lo \
+ ksi_base.lo ksi_err.lo ksi_exep.lo ksi_vtab.lo ksi_prim.lo ksi_sign.lo \
+ ksi_evt.lo ksi_symb.lo ksi_bool.lo ksi_char.lo ksi_str.lo ksi_key.lo \



Home | Main Index | Thread Index | Old Index