diff --git a/collects/mzlib/cm.ss b/collects/mzlib/cm.ss index 40e624e..ecaa6c3 100644 --- a/collects/mzlib/cm.ss +++ b/collects/mzlib/cm.ss @@ -1,6 +1,6 @@ (module cm mzscheme (require (lib "moddep.ss" "syntax") - (lib "plthome.ss" "setup") + (lib "main-collects.ss" "setup") (lib "file.ss")) (provide make-compilation-manager-load/use-compiled-handler @@ -15,7 +15,8 @@ (define indent (make-parameter "")) (define trust-existing-zos (make-parameter #f)) - (define (trace-printf fmt . args) ((trace) (string-append (indent) (apply format fmt args)))) + (define (trace-printf fmt . args) + ((trace) (string-append (indent) (apply format fmt args)))) (define my-max (case-lambda @@ -88,8 +89,8 @@ dep-path (lambda (op) (write (cons (version) - (append (map plthome-ify deps) - (map (lambda (x) (plthome-ify (cons 'ext x))) + (append (map path->main-collects-relative deps) + (map (lambda (x) (path->main-collects-relative (cons 'ext x))) external-deps))) op) (newline op))))) @@ -252,7 +253,7 @@ (when (> t path-zo-time) (trace-printf "newer: ~a (~a > ~a)..." d t path-zo-time)) (> t path-zo-time))) - (map un-plthome-ify (cdr deps))) + (map main-collects-relative->path (cdr deps))) (compile-zo mode path)))))) (let ((stamp (get-compiled-time mode path #t))) (hash-table-put! up-to-date path stamp) diff --git a/collects/mzlib/etc.ss b/collects/mzlib/etc.ss index 9948d2d..b664fae 100644 --- a/collects/mzlib/etc.ss +++ b/collects/mzlib/etc.ss @@ -2,13 +2,13 @@ (module etc mzscheme (require "spidey.ss" - (lib "plthome.ss" "setup")) + (lib "main-collects.ss" "setup")) (require-for-syntax (lib "kerncase.ss" "syntax") (lib "stx.ss" "syntax") (lib "name.ss" "syntax") (lib "context.ss" "syntax") - (lib "plthome.ss" "setup") + (lib "main-collects.ss" "setup") "list.ss" "private/stxset.ss") @@ -452,15 +452,15 @@ (let* ([source (syntax-source stx)] [source (and (path? source) source)] [local (or (current-load-relative-directory) (current-directory))] - [dir (plthome-ify + [dir (path->main-collects-relative (or (and source (file-exists? source) (let-values ([(base file dir?) (split-path source)]) (and (path? base) (path->complete-path base local)))) local))]) - (if (and (pair? dir) (eq? 'plthome (car dir))) + (if (and (pair? dir) (eq? 'collects (car dir))) (with-syntax ([d dir]) - #'(un-plthome-ify 'd)) + #'(main-collects-relative->path 'd)) (with-syntax ([d (if (bytes? dir) dir (path->bytes dir))]) #'(bytes->path d))))]))