diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-09-12 22:57:07 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-09-12 22:57:07 +0800 |
commit | bb31a341e5a1cd1a4e108c8a5b4ccb522dfafb31 (patch) | |
tree | 024660f1236a56827b957a944c80cad74bcbe5ee | |
parent | e14d185fb5fc46ada1c6b2438522476683744f82 (diff) | |
download | marcuscom-ports-bb31a341e5a1cd1a4e108c8a5b4ccb522dfafb31.tar marcuscom-ports-bb31a341e5a1cd1a4e108c8a5b4ccb522dfafb31.tar.gz marcuscom-ports-bb31a341e5a1cd1a4e108c8a5b4ccb522dfafb31.tar.bz2 marcuscom-ports-bb31a341e5a1cd1a4e108c8a5b4ccb522dfafb31.tar.lz marcuscom-ports-bb31a341e5a1cd1a4e108c8a5b4ccb522dfafb31.tar.xz marcuscom-ports-bb31a341e5a1cd1a4e108c8a5b4ccb522dfafb31.tar.zst marcuscom-ports-bb31a341e5a1cd1a4e108c8a5b4ccb522dfafb31.zip |
- Update to 1.6.8
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7287 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | lang/guile/Makefile | 53 | ||||
-rw-r--r-- | lang/guile/distinfo | 3 | ||||
-rw-r--r-- | lang/guile/files/patch-ag | 11 | ||||
-rw-r--r-- | lang/guile/files/patch-libguile___scm.h | 12 | ||||
-rw-r--r-- | lang/guile/files/patch-libguile_gc_os_dep.c | 72 | ||||
-rw-r--r-- | lang/guile/files/patch-libguile_load.c | 16 | ||||
-rw-r--r-- | lang/guile/files/patch-srfi_srfi-4.c | 13 | ||||
-rw-r--r-- | lang/guile/pkg-descr | 8 | ||||
-rw-r--r-- | lang/guile/pkg-plist | 227 |
9 files changed, 415 insertions, 0 deletions
diff --git a/lang/guile/Makefile b/lang/guile/Makefile new file mode 100644 index 000000000..2a118b899 --- /dev/null +++ b/lang/guile/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: guile +# Date created: 2 November 1997 +# Whom: jseger@FreeBSD.org +# +# $FreeBSD$ +# $MCom$ + +PORTNAME= guile +PORTVERSION= 1.6.8 +CATEGORIES= lang scheme +MASTER_SITES= ${MASTER_SITE_GNU} +MASTER_SITE_SUBDIR= guile + +MAINTAINER= gnome@FreeBSD.org +COMMENT= GNU Ubiquitous Intelligent Language for Extension + +USE_AUTOTOOLS= libltdl:15 +USE_GMAKE= yes +GNU_CONFIGURE= yes +USE_LDCONFIG= yes +USE_GNOME= gnometarget +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +GUILE_VER= 1.6 +PLIST_SUB= GUILE_VER=${GUILE_VER} + +REINPLACE_FILES= libguile/gc.c libguile/mallocs.c \ + libguile/ports.c libguile/smob.c + +INFO= goops guile-tut guile r5rs + +.include <bsd.port.pre.mk> + +.if ${ARCH} != "ia64" && ${ARCH} != "amd64" && ${ARCH} != "powerpc" +CONFIGURE_ARGS+=--with-threads +PLIST_SUB+= THREADS:="" +.else +PLIST_SUB+= THREADS:="@comment " +.endif + +post-extract: + cd ${WRKSRC}; ${CHMOD} u+w ${REINPLACE_FILES} + @${FIND} ${WRKSRC}/doc -name "*.info*" -delete + +post-patch: + @cd ${WRKSRC} ; \ + ${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|g' ${REINPLACE_FILES} + @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g ; \ + s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/libguile/load.c + @${REINPLACE_CMD} -e 's^sparc-\*-\*^sparc-*-*|sparc64-*-*^' ${WRKSRC}/configure + +.include <bsd.port.post.mk> diff --git a/lang/guile/distinfo b/lang/guile/distinfo new file mode 100644 index 000000000..35e18a0bd --- /dev/null +++ b/lang/guile/distinfo @@ -0,0 +1,3 @@ +MD5 (guile-1.6.8.tar.gz) = 2756b01f428b910d33267aeaa0e2d59a +SHA256 (guile-1.6.8.tar.gz) = 3d4ab874f90f5c2003229be29488ba2aa6fe1f0317774283360530d5d9236011 +SIZE (guile-1.6.8.tar.gz) = 3114052 diff --git a/lang/guile/files/patch-ag b/lang/guile/files/patch-ag new file mode 100644 index 000000000..dd895e731 --- /dev/null +++ b/lang/guile/files/patch-ag @@ -0,0 +1,11 @@ +--- qt/Makefile.in.orig Mon Apr 24 14:53:57 2000 ++++ qt/Makefile.in Mon Apr 24 14:54:33 2000 +@@ -407,7 +407,7 @@ + + + .s.lo: +- $(LIBTOOL) --mode=compile $(COMPILE) $(qthread_asflags) -c $< ++ $(LIBTOOL) --mode=compile $(CC) $(qthread_asflags) -c $< + qtmds.s: + ${LN_S} ${srcdir}/${qtmds_s} qtmds.s + qtmdc.c: diff --git a/lang/guile/files/patch-libguile___scm.h b/lang/guile/files/patch-libguile___scm.h new file mode 100644 index 000000000..8004b8b79 --- /dev/null +++ b/lang/guile/files/patch-libguile___scm.h @@ -0,0 +1,12 @@ +--- libguile/__scm.h.orig Sat Apr 12 14:16:08 2003 ++++ libguile/__scm.h Sun Jun 1 16:32:36 2003 +@@ -354,7 +354,8 @@ + * that all the state of the process is contained in the stack. + */ + +-#if defined (sparc) || defined (__sparc__) || defined (__sparc) ++#if (defined (sparc) || defined (__sparc__) || defined (__sparc)) && \ ++ (!defined(__FreeBSD__)) + # define SCM_FLUSH_REGISTER_WINDOWS asm("ta 3") + #else + # define SCM_FLUSH_REGISTER_WINDOWS /* empty */ diff --git a/lang/guile/files/patch-libguile_gc_os_dep.c b/lang/guile/files/patch-libguile_gc_os_dep.c new file mode 100644 index 000000000..ce9b7aa35 --- /dev/null +++ b/lang/guile/files/patch-libguile_gc_os_dep.c @@ -0,0 +1,72 @@ +--- libguile/gc_os_dep.c.orig Wed Apr 16 22:16:21 2003 ++++ libguile/gc_os_dep.c Sun Sep 12 15:18:00 2004 +@@ -93,6 +93,14 @@ + # define OPENBSD + # define mach_type_known + # endif ++# if defined(__FreeBSD__) && defined(__sparc__) ++# define FREEBSD ++# include <machine/frame.h> ++# define ALIGNMENT 8 ++# define CPP_WORDSZ 64 ++# define ALIGN_DOUBLE ++# define mach_type_known ++# endif + # if defined(__NetBSD__) && defined(__powerpc__) + # define POWERPC + # define NETBSD +@@ -225,7 +233,21 @@ + # define ARM32 + # define mach_type_known + # endif +-# if defined(__alpha) || defined(__alpha__) ++# if defined(__FreeBSD__) && defined(__ia64__) ++# define FREEBSD ++# define IA64 ++# define mach_type_known ++# endif ++# if defined(__FreeBSD__) && defined(__amd64__) ++# define FREEBSD ++# define AMD64 ++# define mach_type_known ++# endif ++# if defined(__FreeBSD__) && defined(__alpha__) ++# define FREEBSD ++# define ALPHA ++# define mach_type_known ++# elif defined(__alpha) || defined(__alpha__) + # define ALPHA + # if !defined(LINUX) + # define OSF1 /* a.k.a Digital Unix */ +@@ -1125,6 +1147,13 @@ + # endif + # endif + ++# ifdef AMD64 ++# define MACH_TYPE "AMD64" ++# define ALIGN_DOUBLE ++# define ALIGNMENT 8 ++# define USE_GENERIC_PUSH_REGS ++# endif ++ + # ifdef IA64 + # define MACH_TYPE "IA64" + # define ALIGN_DOUBLE +@@ -1468,7 +1497,7 @@ + # include <setjmp.h> + #endif + +-#ifdef FREEBSD ++#if defined(FREEBSD) && defined(I386) + # include <machine/trap.h> + #endif + +@@ -1501,7 +1530,7 @@ + #endif + + #ifdef SUNOS5SIGS +-# include <sys/siginfo.h> ++/*# include <sys/siginfo.h>*/ + # undef setjmp + # undef longjmp + # define setjmp(env) sigsetjmp(env, 1) diff --git a/lang/guile/files/patch-libguile_load.c b/lang/guile/files/patch-libguile_load.c new file mode 100644 index 000000000..f5ce39667 --- /dev/null +++ b/lang/guile/files/patch-libguile_load.c @@ -0,0 +1,16 @@ +--- libguile/load.c.orig Sat Dec 7 17:41:32 2002 ++++ libguile/load.c Wed Apr 30 22:55:23 2003 +@@ -247,9 +247,11 @@ + SCM path = SCM_EOL; + + #ifdef SCM_LIBRARY_DIR +- path = scm_list_3 (scm_makfrom0str (SCM_SITE_DIR), ++ path = scm_list_5 (scm_makfrom0str (SCM_SITE_DIR), + scm_makfrom0str (SCM_LIBRARY_DIR), +- scm_makfrom0str (SCM_PKGDATA_DIR)); ++ scm_makfrom0str (SCM_PKGDATA_DIR), ++ scm_makfrom0str ("%%X11BASE%%/share/guile"), ++ scm_makfrom0str ("%%LOCALBASE%%/share/guile")); + #endif /* SCM_LIBRARY_DIR */ + + path = scm_internal_parse_path (getenv ("GUILE_LOAD_PATH"), path); diff --git a/lang/guile/files/patch-srfi_srfi-4.c b/lang/guile/files/patch-srfi_srfi-4.c new file mode 100644 index 000000000..e4fb17f3e --- /dev/null +++ b/lang/guile/files/patch-srfi_srfi-4.c @@ -0,0 +1,13 @@ +--- srfi/srfi-4.c.orig Sat Nov 20 17:30:56 2004 ++++ srfi/srfi-4.c Sat Nov 20 17:31:55 2004 +@@ -50,6 +50,10 @@ + #include <string.h> + #include <stdio.h> + ++#ifndef SIZE_MAX ++#define SIZE_MAX ((size_t) (-1)) ++#endif ++ + /* For brevity and maintainability, we define our own types for the + various integer and floating point types. */ + typedef unsigned char int_u8; diff --git a/lang/guile/pkg-descr b/lang/guile/pkg-descr new file mode 100644 index 000000000..5c2cc6974 --- /dev/null +++ b/lang/guile/pkg-descr @@ -0,0 +1,8 @@ +GUILE, GNU's Ubiquitous Intelligent Language for Extension, +is a library that implements the Scheme language plus various +convenient facilities. It's designed so that you can link it +into an application or utility to make it extensible. Our +plan is to link this library into all GNU programs that call for +extensibility. + +WWW: http://www.gnu.org/software/guile/ diff --git a/lang/guile/pkg-plist b/lang/guile/pkg-plist new file mode 100644 index 000000000..88bc9ffdc --- /dev/null +++ b/lang/guile/pkg-plist @@ -0,0 +1,227 @@ +bin/guile +bin/guile-config +bin/guile-snarf +bin/guile-tools +include/guile-readline/readline.h +include/guile/gh.h +include/guile/srfi/srfi-13.h +include/guile/srfi/srfi-14.h +include/guile/srfi/srfi-4.h +include/libguile.h +include/libguile/__scm.h +include/libguile/alist.h +include/libguile/arbiters.h +include/libguile/async.h +include/libguile/backtrace.h +include/libguile/boolean.h +include/libguile/chars.h +include/libguile/continuations.h +include/libguile/coop-defs.h +include/libguile/debug-malloc.h +include/libguile/debug.h +include/libguile/deprecation.h +include/libguile/dynl.h +include/libguile/dynwind.h +include/libguile/environments.h +include/libguile/eq.h +include/libguile/error.h +include/libguile/eval.h +include/libguile/evalext.h +include/libguile/extensions.h +include/libguile/feature.h +include/libguile/filesys.h +include/libguile/fluids.h +include/libguile/fports.h +include/libguile/gc.h +include/libguile/gdb_interface.h +include/libguile/gdbint.h +include/libguile/goops.h +include/libguile/gsubr.h +include/libguile/guardians.h +include/libguile/hash.h +include/libguile/hashtab.h +include/libguile/hooks.h +include/libguile/init.h +include/libguile/ioext.h +include/libguile/iselect.h +include/libguile/keywords.h +include/libguile/lang.h +include/libguile/list.h +include/libguile/load.h +include/libguile/macros.h +include/libguile/mallocs.h +include/libguile/modules.h +include/libguile/net_db.h +include/libguile/numbers.h +include/libguile/objects.h +include/libguile/objprop.h +include/libguile/options.h +include/libguile/pairs.h +include/libguile/ports.h +include/libguile/posix.h +include/libguile/print.h +include/libguile/procprop.h +include/libguile/procs.h +include/libguile/properties.h +include/libguile/ramap.h +include/libguile/random.h +include/libguile/rdelim.h +include/libguile/read.h +include/libguile/regex-posix.h +include/libguile/root.h +include/libguile/rw.h +include/libguile/scmconfig.h +include/libguile/scmsigs.h +include/libguile/script.h +include/libguile/simpos.h +include/libguile/smob.h +include/libguile/snarf.h +include/libguile/socket.h +include/libguile/sort.h +include/libguile/srcprop.h +include/libguile/stackchk.h +include/libguile/stacks.h +include/libguile/stime.h +include/libguile/strings.h +include/libguile/strop.h +include/libguile/strorder.h +include/libguile/strports.h +include/libguile/struct.h +include/libguile/symbols.h +include/libguile/tags.h +include/libguile/threads.h +include/libguile/throw.h +include/libguile/unif.h +include/libguile/validate.h +include/libguile/values.h +include/libguile/variable.h +include/libguile/vectors.h +include/libguile/version.h +include/libguile/vports.h +include/libguile/weaks.h +lib/libguile-ltdl.a +lib/libguile-ltdl.la +lib/libguile-ltdl.so +lib/libguile-ltdl.so.1 +lib/libguile-srfi-srfi-13-14-v-1.a +lib/libguile-srfi-srfi-13-14-v-1.la +lib/libguile-srfi-srfi-13-14-v-1.so +lib/libguile-srfi-srfi-13-14-v-1.so.1 +lib/libguile-srfi-srfi-4-v-1.a +lib/libguile-srfi-srfi-4-v-1.la +lib/libguile-srfi-srfi-4-v-1.so +lib/libguile-srfi-srfi-4-v-1.so.1 +lib/libguile.a +lib/libguile.la +lib/libguile.so +lib/libguile.so.15 +lib/libguilereadline-v-12.a +lib/libguilereadline-v-12.la +lib/libguilereadline-v-12.so +lib/libguilereadline-v-12.so.15 +%%THREADS:%%lib/libqthreads.a +%%THREADS:%%lib/libqthreads.la +%%THREADS:%%lib/libqthreads.so +%%THREADS:%%lib/libqthreads.so.15 +share/aclocal/guile.m4 +%%DATADIR%%/%%GUILE_VER%%/guile-procedures.txt +%%DATADIR%%/%%GUILE_VER%%/ice-9/and-let*.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/and-let-star.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/arrays.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/boot-9.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/buffered-input.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/calling.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/channel.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/common-list.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/debug.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/debugger.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/documentation.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/emacs.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/expect.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/format.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/ftw.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/getopt-long.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/hcons.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/history.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/lineio.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/ls.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/mapping.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/match.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/networking.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/null.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/optargs.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/poe.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/popen.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/posix.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/pretty-print.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/psyntax.pp +%%DATADIR%%/%%GUILE_VER%%/ice-9/psyntax.ss +%%DATADIR%%/%%GUILE_VER%%/ice-9/q.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/r4rs.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/r5rs.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/rdelim.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/readline.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/receive.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/regex.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/runq.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/rw.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/safe-r5rs.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/safe.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/session.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/slib.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/slib-old.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/stack-catch.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/streams.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/string-fun.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/syncase.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/threads.scm +%%DATADIR%%/%%GUILE_VER%%/ice-9/time.scm +%%DATADIR%%/%%GUILE_VER%%/oop/goops.scm +%%DATADIR%%/%%GUILE_VER%%/oop/goops/active-slot.scm +%%DATADIR%%/%%GUILE_VER%%/oop/goops/compile.scm +%%DATADIR%%/%%GUILE_VER%%/oop/goops/composite-slot.scm +%%DATADIR%%/%%GUILE_VER%%/oop/goops/describe.scm +%%DATADIR%%/%%GUILE_VER%%/oop/goops/dispatch.scm +%%DATADIR%%/%%GUILE_VER%%/oop/goops/internal.scm +%%DATADIR%%/%%GUILE_VER%%/oop/goops/old-define-method.scm +%%DATADIR%%/%%GUILE_VER%%/oop/goops/save.scm +%%DATADIR%%/%%GUILE_VER%%/oop/goops/stklos.scm +%%DATADIR%%/%%GUILE_VER%%/oop/goops/util.scm +%%DATADIR%%/%%GUILE_VER%%/scripts/PROGRAM +%%DATADIR%%/%%GUILE_VER%%/scripts/autofrisk +%%DATADIR%%/%%GUILE_VER%%/scripts/display-commentary +%%DATADIR%%/%%GUILE_VER%%/scripts/doc-snarf +%%DATADIR%%/%%GUILE_VER%%/scripts/frisk +%%DATADIR%%/%%GUILE_VER%%/scripts/generate-autoload +%%DATADIR%%/%%GUILE_VER%%/scripts/lint +%%DATADIR%%/%%GUILE_VER%%/scripts/punify +%%DATADIR%%/%%GUILE_VER%%/scripts/read-scheme-source +%%DATADIR%%/%%GUILE_VER%%/scripts/snarf-check-and-output-texi +%%DATADIR%%/%%GUILE_VER%%/scripts/snarf-guile-m4-docs +%%DATADIR%%/%%GUILE_VER%%/scripts/use2dot +%%DATADIR%%/%%GUILE_VER%%/srfi/srfi-1.scm +%%DATADIR%%/%%GUILE_VER%%/srfi/srfi-10.scm +%%DATADIR%%/%%GUILE_VER%%/srfi/srfi-11.scm +%%DATADIR%%/%%GUILE_VER%%/srfi/srfi-13.scm +%%DATADIR%%/%%GUILE_VER%%/srfi/srfi-14.scm +%%DATADIR%%/%%GUILE_VER%%/srfi/srfi-16.scm +%%DATADIR%%/%%GUILE_VER%%/srfi/srfi-17.scm +%%DATADIR%%/%%GUILE_VER%%/srfi/srfi-19.scm +%%DATADIR%%/%%GUILE_VER%%/srfi/srfi-2.scm +%%DATADIR%%/%%GUILE_VER%%/srfi/srfi-31.scm +%%DATADIR%%/%%GUILE_VER%%/srfi/srfi-39.scm +%%DATADIR%%/%%GUILE_VER%%/srfi/srfi-4.scm +%%DATADIR%%/%%GUILE_VER%%/srfi/srfi-6.scm +%%DATADIR%%/%%GUILE_VER%%/srfi/srfi-8.scm +%%DATADIR%%/%%GUILE_VER%%/srfi/srfi-9.scm +@dirrm %%DATADIR%%/%%GUILE_VER%%/srfi +@dirrm %%DATADIR%%/%%GUILE_VER%%/scripts +@dirrm %%DATADIR%%/%%GUILE_VER%%/oop/goops +@dirrm %%DATADIR%%/%%GUILE_VER%%/oop +@dirrm %%DATADIR%%/%%GUILE_VER%%/ice-9 +@dirrm %%DATADIR%%/%%GUILE_VER%% +@dirrm %%DATADIR%% +@dirrm include/libguile +@dirrm include/guile/srfi +@dirrm include/guile-readline +@dirrm include/guile |