1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Upgrade to v360. Upstream changes include:

- A new macro stepper that traces through macro expansion
   step by step.
 - A new "Lazy Scheme" language level.
 - New support for prompts and composable continuations.
 - Regexp support now includes the usual collection of
   "Perl-compatible" features.
 - Compiler improvements and bug fixes.
This commit is contained in:
Joseph Koshy 2007-01-26 11:48:33 +00:00
parent 7c66de988e
commit cb1380d0a6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=183327
7 changed files with 478 additions and 329 deletions

View File

@ -6,7 +6,7 @@
# #
PORTNAME= drscheme PORTNAME= drscheme
PORTVERSION= 352 PORTVERSION= 360
CATEGORIES= lang scheme CATEGORIES= lang scheme
MASTER_SITES= http://download.plt-scheme.org/bundles/${PORTVERSION}/plt/ \ MASTER_SITES= http://download.plt-scheme.org/bundles/${PORTVERSION}/plt/ \
http://www.cs.utah.edu/plt/download/${PORTVERSION}/plt/ \ http://www.cs.utah.edu/plt/download/${PORTVERSION}/plt/ \
@ -35,7 +35,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX} --enable-shared \
# Force the "configure" script to look in $LOCALBASE for -lpng and -ljpeg # Force the "configure" script to look in $LOCALBASE for -lpng and -ljpeg
LDFLAGS+= -L${LOCALBASE}/lib LDFLAGS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/plt/src WRKSRC= ${WRKDIR}/plt-${PORTVERSION}/src
USE_ICONV= yes USE_ICONV= yes
USE_LDCONFIG= yes USE_LDCONFIG= yes
USE_XLIB= yes USE_XLIB= yes
@ -69,7 +69,4 @@ PLIST_SUB+= MMM=""
PLIST_SUB+= MMM="@comment " PLIST_SUB+= MMM="@comment "
.endif .endif
post-patch:
${RM} ${WRKSRC}/../collects/profj/to-scheme.ss.orig
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
MD5 (drscheme/352/plt-352-src-unix.tgz) = e79fd305fe431e0477f861902f2ef9e1 MD5 (drscheme/360/plt-360-src-unix.tgz) = 84bcab3ff30c333ae3c6b732518bdf27
SHA256 (drscheme/352/plt-352-src-unix.tgz) = f221a21667c19d763e204310055804c6f6eab9349eccf9481afd5104edb8e45d SHA256 (drscheme/360/plt-360-src-unix.tgz) = 014cd5c91231a5b6dd67c90ca9d2c26a7466abe0d072a37a40a605b29870f3bd
SIZE (drscheme/352/plt-352-src-unix.tgz) = 13661695 SIZE (drscheme/360/plt-360-src-unix.tgz) = 14106005

View File

@ -1,20 +0,0 @@
--- ../collects/profj/to-scheme.ss 2006/08/02 03:53:43 3922
+++ ../trunk/collects/profj/to-scheme.ss 2006/09/19 21:01:05 4389
@@ -341,13 +341,14 @@
(member (id-string (name-id extend))
(map id-string (map def-name ordered-defs)))))
- ;make-composite-name: def -> string
+ ;make-composite-name: string -> string
(define (make-composite-name d)
- (build-identifier (string-append (id-string (header-id (def-header d))) "-composite")))
+ (build-identifier (string-append d "-composite")))
;translate-defs: (list def) type-records -> (values (list syntax) (list reqs))
(define (translate-defs defs type-recs)
- (module-name (make-composite-name (car defs)))
+ (let ((sorted-d-list (sort (map (compose id-string def-name) defs) string<?)))
+ (module-name (make-composite-name (car sorted-d-list))))
(module-require (if (to-file)
(let ((location (build-path (begin (send type-recs set-location! (def-file (car defs)))
(send type-recs get-compilation-location) "compiled")

View File

@ -8,21 +8,3 @@
i*86-*-linux*) TARGET=X86; TARGETDIR=x86;; i*86-*-linux*) TARGET=X86; TARGETDIR=x86;;
i*86-*-gnu*) TARGET=X86; TARGETDIR=x86;; i*86-*-gnu*) TARGET=X86; TARGETDIR=x86;;
i*86-*-solaris2.1[0-9]*) TARGET=X86_64; TARGETDIR=x86;; i*86-*-solaris2.1[0-9]*) TARGET=X86_64; TARGETDIR=x86;;
@@ -5395,7 +5396,7 @@
sparc*-sun-*) TARGET=SPARC; TARGETDIR=sparc;;
sparc-*-linux* | sparc-*-netbsdelf* | sparc-*-knetbsd*-gnu) TARGET=SPARC; TARGETDIR=sparc;;
sparc*-*-rtems*) TARGET=SPARC; TARGETDIR=sparc;;
-sparc64-*-linux* | sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu) TARGET=SPARC; TARGETDIR=sparc;;
+sparc64-*-freebsd* | sparc64-*-linux* | sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu) TARGET=SPARC; TARGETDIR=sparc;;
alpha*-*-linux* | alpha*-*-osf* | alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu | alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu) TARGET=ALPHA; TARGETDIR=alpha;;
ia64*-*-*) TARGET=IA64; TARGETDIR=ia64;;
m32r*-*-linux* ) TARGET=M32R; TARGETDIR=m32r;;
@@ -5416,7 +5417,7 @@
cris-*-*) TARGET=LIBFFI_CRIS; TARGETDIR=cris;;
s390-*-linux-*) TARGET=S390; TARGETDIR=s390;;
s390x-*-linux-*) TARGET=S390; TARGETDIR=s390;;
-x86_64-*-linux* | x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) TARGET=X86_64; TARGETDIR=x86;;
+x86_64-*-linux* | x86_64-*-kfreebsd*-gnu) TARGET=X86_64; TARGETDIR=x86;;
sh-*-linux* | sh[34]*-*-linux*) TARGET=SH; TARGETDIR=sh;;
sh-*-rtems*) TARGET=SH; TARGETDIR=sh;;
sh64-*-linux* | sh5*-*-linux*) TARGET=SH64; TARGETDIR=sh64;;

View File

@ -1,36 +0,0 @@
--- mzscheme/gc/include/private/gcconfig.h.orig Fri Jul 7 02:38:23 2006
+++ mzscheme/gc/include/private/gcconfig.h Fri Sep 22 12:45:27 2006
@@ -335,10 +335,14 @@
# define X86_64
# define mach_type_known
# endif
+# if defined(FREEBSD) && defined(__amd64__)
+# define X86_64
+# define mach_type_known
+# endif
# if defined(FREEBSD) && defined(__sparc__)
# define SPARC
# define mach_type_known
-#endif
+# endif
# if defined(bsdi) && (defined(i386) || defined(__i386__))
# define I386
# define BSDI
@@ -1992,6 +1996,17 @@
# define PREFETCH(x) __builtin_prefetch((x), 0, 0)
# define PREFETCH_FOR_WRITE(x) __builtin_prefetch((x), 1)
# endif
+# endif
+# ifdef FREEBSD
+# define OS_TYPE "FREEBSD"
+# define SIG_SUSPEND SIGUSR1
+# define SIG_THR_RESTART SIGUSR2
+# ifdef __ELF__
+# define DYNAMIC_LOADING
+# endif
+# define HEURISTIC2
+ extern char etext[];
+# define SEARCH_FOR_DATA_START
# endif
# ifdef NETBSD
# define OS_TYPE "NETBSD"

View File

@ -1,46 +0,0 @@
--- mzscheme/sconfig.h.orig Wed Jul 26 18:00:43 2006
+++ mzscheme/sconfig.h Fri Sep 22 15:23:14 2006
@@ -302,9 +302,23 @@
/************** x86/FreeBSD with gcc ****************/
-# if defined(__FreeBSD__) && defined(i386)
+# if defined(__FreeBSD__)
-# define SCHEME_PLATFORM_LIBRARY_SUBPATH "i386-freebsd"
+# if defined(__i386__)
+# define SCHEME_PLATFORM_LIBRARY_SUBPATH "i386-freebsd"
+# define REGISTER_POOR_MACHINE
+# define MZ_USE_JIT_I386
+# define FREEBSD_CONTROL_387
+# elif defined(__amd64__)
+# define SCHEME_PLATFORM_LIBRARY_SUBPATH "amd64-freebsd"
+# define REGISTER_POOR_MACHINE
+# define MZ_USE_JIT_X86_64
+# elif defined(__sparc64__)
+# define SCHEME_PLATFORM_LIBRARY_SUBPATH "sparc64-freebsd"
+# define FLUSH_SPARC_REGISTER_WINDOWS
+# else
+# error Unported platform.
+# endif
# include "uconfig.h"
# undef HAS_STANDARD_IOB
@@ -318,7 +332,6 @@
# define USE_UNDERSCORE_SETJMP
# define USE_IEEE_FP_PREDS
-# define FREEBSD_CONTROL_387
# define POW_HANDLES_INF_CORRECTLY
# define USE_DYNAMIC_FDSET_SIZE
@@ -327,9 +340,6 @@
# define USE_TM_GMTOFF_FIELD
-# define REGISTER_POOR_MACHINE
-
-# define MZ_USE_JIT_I386
# define MZ_JIT_USE_MPROTECT
# define FLAGS_ALREADY_SET

File diff suppressed because it is too large Load Diff