update to chicken 2.41

from maintainer Deanna Phillips <deanna at sdf.lonestar.org>

use -O0 on sparc64 to avoid an internal compiler error.
This commit is contained in:
steven 2006-07-26 18:35:06 +00:00
parent f7bf977b7a
commit 47fe358308
4 changed files with 71 additions and 13 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/06/04 10:36:03 steven Exp $
# $OpenBSD: Makefile,v 1.2 2006/07/26 18:35:06 steven Exp $
COMMENT= "scheme to C compiler, scheme interpreter"
COMMENT= "practical and portable Scheme system"
DISTNAME= chicken-2.3
DISTNAME= chicken-2.41
SHARED_LIBS= chicken 0.0 \
uchicken 0.0
CATEGORIES= lang
@ -27,6 +27,15 @@ USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
# gcc 3.3.5 internal compiler error
.if ${MACHINE_ARCH} == "sparc64"
CFLAGS+= -O0
.endif
# benchmark runs into forever loop at low nursery sizes on some architectures
# fix this value at 128k instead of using the benchmark
MAKE_FLAGS= NURSERY=131072
DOCDIR= ${PREFIX}/share/doc/chicken
DOCS= chicken.html ChangeLog README LICENSE

View File

@ -1,4 +1,4 @@
MD5 (chicken-2.3.tar.gz) = 319a3ea1769747e69802062efb4fe22c
RMD160 (chicken-2.3.tar.gz) = cca291aacef699b06c9fb197bea735cd28892d38
SHA1 (chicken-2.3.tar.gz) = 0ceb0cdea495f753f091cd06ac196b48eadc0b11
SIZE (chicken-2.3.tar.gz) = 3906266
MD5 (chicken-2.41.tar.gz) = b0f64865bc1bb51159c8246e16e515e8
RMD160 (chicken-2.41.tar.gz) = ba08c178c9260fa9f5dc0d57f5e46bb779ce51aa
SHA1 (chicken-2.41.tar.gz) = cfc202f16d021d530b7e9d73a75db097e1946d34
SIZE (chicken-2.41.tar.gz) = 3950398

View File

@ -1,7 +1,25 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2006/06/04 10:36:03 steven Exp $
--- Makefile.in.orig Sat May 6 18:20:49 2006
+++ Makefile.in Sat May 6 18:21:27 2006
@@ -1449,7 +1449,7 @@ info: info-am
$OpenBSD: patch-Makefile_in,v 1.2 2006/07/26 18:35:06 steven Exp $
--- Makefile.in.orig Wed Jul 19 13:37:37 2006
+++ Makefile.in Wed Jul 19 13:38:31 2006
@@ -20,7 +20,7 @@ srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
+pkglibdir = $(libdir)
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = .
@@ -200,7 +200,7 @@ chicken_static_SOURCES =
chicken_static_LDADD = chicken.o support.o easyffi.o compiler.o optimizer.o c-platform.o c-backend.o batch-driver.o libchicken.la $(MORE_STATIC_LIBS)
chicken_static_LDFLAGS = -static $(LINKFLAGS)
-BASE_CPPFLAGS = -DC_STACK_GROWS_DOWNWARD=$(STACK_GROWS_DOWNWARD) -DC_INSTALL_LIB_HOME='"$(pkglibdir)/$(BINARY_VERSION)"' \
+BASE_CPPFLAGS = -DC_STACK_GROWS_DOWNWARD=$(STACK_GROWS_DOWNWARD) -DC_INSTALL_LIB_HOME='"$(pkglibdir)"' \
-DC_INSTALL_HOME='"$(pkgdatadir)"' -DC_USE_C_DEFAULTS
INCLUDES = $(BASE_CPPFLAGS) -DC_NO_PIC_NO_DLL
@@ -1454,7 +1454,7 @@ info: info-am
info-am: $(INFO_DEPS)
@ -10,3 +28,20 @@ $OpenBSD: patch-Makefile_in,v 1.1.1.1 2006/06/04 10:36:03 steven Exp $
install-info-am install-man install-pkgdataDATA
install-exec-am: install-binPROGRAMS install-libLTLIBRARIES
@@ -1599,7 +1599,7 @@ chicken-defaults.h: nsample
echo "# define C_INSTALL_HOME \"${pkgdatadir}\"" >>chicken-defaults.h; \
echo "#endif" >> chicken-defaults.h; \
echo "#ifndef C_INSTALL_LIB_HOME" >> chicken-defaults.h; \
- echo "# define C_INSTALL_LIB_HOME \"${pkglibdir}/${BINARY_VERSION}\"" >>chicken-defaults.h; \
+ echo "# define C_INSTALL_LIB_HOME \"${pkglibdir}\"" >>chicken-defaults.h; \
echo "#endif" >> chicken-defaults.h; \
echo "#ifndef C_DEFAULT_TARGET_STACK_SIZE" >> chicken-defaults.h; \
echo "# define C_DEFAULT_TARGET_STACK_SIZE ($${nursery})" >>chicken-defaults.h; \
@@ -1848,7 +1848,6 @@ uninstall:
rm -f $(mandir)/man1/csi.1
rm -f $(libdir)/libchicken.*
rm -f $(libdir)/libuchicken.*
- rm -fr $(pkglibdir)
rm -fr $(pkgdatadir)
rm -f $(includedir)/chicken.h
rm -f $(includedir)/chicken-config.h

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/06/04 10:36:03 steven Exp $
@comment $OpenBSD: PLIST,v 1.2 2006/07/26 18:35:06 steven Exp $
%%SHARED%%
bin/chicken
bin/chicken-profile
@ -21,8 +21,22 @@ lib/libuchicken.la
share/chicken/
share/chicken/banner.scm
share/chicken/chicken-ffi-macros.scm
share/chicken/chicken-match-macros.scm
share/chicken/chicken-more-macros.scm
share/chicken/eval.exports
share/chicken/extras.exports
share/chicken/library.exports
share/chicken/lolevel.exports
share/chicken/posix.exports
share/chicken/regex.exports
share/chicken/scheduler.exports
share/chicken/srfi-1.exports
share/chicken/srfi-13.exports
share/chicken/srfi-14.exports
share/chicken/srfi-18.exports
share/chicken/srfi-4.exports
share/chicken/tcp.exports
share/chicken/tinyclos.exports
share/chicken/utils.exports
share/doc/chicken/
share/doc/chicken/ChangeLog
share/doc/chicken/LICENSE