Index: Makefile =================================================================== RCS file: /home/ncvs/ports/lang/drscheme/Makefile,v retrieving revision 1.17 diff -u -r1.17 Makefile --- Makefile 13 Mar 2004 10:15:50 -0000 1.17 +++ Makefile 29 Sep 2004 11:26:14 -0000 @@ -6,8 +6,7 @@ # PORTNAME= drscheme -PORTVERSION= 206p1 -PORTREVISION= 1 +PORTVERSION= 208 CATEGORIES= lang scheme MASTER_SITES= http://download.plt-scheme.org/bundles/${PORTVERSION}/plt/ \ http://www.cs.utah.edu/plt/download/${PORTVERSION}/plt/ \ @@ -32,7 +31,7 @@ DRS_B= drscheme mred mzc mzscheme tex2page help-desk MAN1= drscheme.1 help-desk.1 mred.1 mzscheme.1 tex2page.1 -ONLY_FOR_ARCHS= i386 +ONLY_FOR_ARCHS= i386 amd64 post-install: cd ${PLTHOME} && bin/setup-plt Index: distinfo =================================================================== RCS file: /home/ncvs/ports/lang/drscheme/distinfo,v retrieving revision 1.10 diff -u -r1.10 distinfo --- distinfo 3 Mar 2004 16:47:57 -0000 1.10 +++ distinfo 29 Sep 2004 11:33:05 -0000 @@ -1,2 +1,2 @@ -MD5 (drscheme/206p1/plt-206p1-src-unix.tgz) = b53d1bfac39966d51caca19d122e2b6a -SIZE (drscheme/206p1/plt-206p1-src-unix.tgz) = 8730583 +MD5 (drscheme/208/plt-208-src-unix.tgz) = 0036e215d9402f7755b23cc875090f9e +SIZE (drscheme/208/plt-208-src-unix.tgz) = 10486916 Index: files/patch-gcconfig.h =================================================================== RCS file: files/patch-gcconfig.h diff -N files/patch-gcconfig.h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-gcconfig.h 29 Sep 2004 11:35:21 -0000 @@ -0,0 +1,28 @@ +diff -ur orig/plt/src/mzscheme/gc/include/private/gcconfig.h plt/src/mzscheme/gc/include/private/gcconfig.h +--- orig/plt/src/mzscheme/gc/include/private/gcconfig.h Thu Jul 22 11:21:22 2004 ++++ mzscheme/gc/include/private/gcconfig.h Tue Aug 17 13:46:49 2004 +@@ -307,6 +307,10 @@ + # define I386 + # define mach_type_known + # endif ++# if defined(FREEBSD) && (defined(amd64) || defined(__amd64__)) ++# define X86_64 ++# define mach_type_known ++# endif + # if defined(__NetBSD__) && (defined(i386) || defined(__i386__)) + # define I386 + # define mach_type_known +@@ -1873,6 +1877,13 @@ + # define HEURISTIC2 + extern char etext[]; + # define SEARCH_FOR_DATA_START ++# endif ++# ifdef FREEBSD ++# define OS_TYPE "FREEBSD" ++# define DYNAMIC_LOADING ++# define HEURISTIC2 ++ extern char etext[]; ++# define SEARCH_FOR_DATA_START + # endif + # endif + Index: files/patch-sconfig.h =================================================================== RCS file: files/patch-sconfig.h diff -N files/patch-sconfig.h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-sconfig.h 29 Sep 2004 11:18:41 -0000 @@ -0,0 +1,43 @@ +diff -ur orig/plt/src/mzscheme/sconfig.h plt/src/mzscheme/sconfig.h +--- orig/plt/src/mzscheme/sconfig.h Thu Jul 22 11:21:19 2004 ++++ mzscheme/sconfig.h Tue Aug 17 13:54:03 2004 +@@ -323,6 +323,37 @@ + + #endif + ++#if defined(__FreeBSD__) && (defined(amd64) || defined(__amd64__)) ++ ++# define SCHEME_PLATFORM_LIBRARY_SUBPATH "amd64-freebsd" ++ ++# define SIXTY_FOUR_BIT_INTEGERS ++ ++# include "uconfig.h" ++# undef HAS_STANDARD_IOB ++ ++# define HAS_BSD_IOB ++ ++# define STACK_GROWS_DOWN ++ ++# define USE_UNDERSCORE_SETJMP ++ ++# define USE_IEEE_FP_PREDS ++# undef FREEBSD_CONTROL_387 ++# define POW_HANDLES_INF_CORRECTLY ++ ++# define USE_DYNAMIC_FDSET_SIZE ++ ++# define SIGSET_IS_SIGNAL ++ ++# define USE_TM_GMTOFF_FIELD ++ ++# undef REGISTER_POOR_MACHINE ++ ++# define FLAGS_ALREADY_SET ++ ++#endif ++ + /************** SGI/IRIX with SGI cc ****************/ + + #if (defined(mips) || defined(__mips)) \ + +