call xform with string, check DarwinPorts lib location (PR 8784)
svn: r6965
This commit is contained in:
parent
6ab2806fe0
commit
a2c0c852bc
|
@ -6,7 +6,6 @@
|
||||||
(lib "file.ss" "dynext")
|
(lib "file.ss" "dynext")
|
||||||
(lib "file.ss")
|
(lib "file.ss")
|
||||||
(lib "list.ss")
|
(lib "list.ss")
|
||||||
(lib "process.ss")
|
|
||||||
(lib "etc.ss")
|
(lib "etc.ss")
|
||||||
(lib "launcher.ss" "launcher")
|
(lib "launcher.ss" "launcher")
|
||||||
(lib "xform.ss" "compiler")
|
(lib "xform.ss" "compiler")
|
||||||
|
@ -132,6 +131,8 @@
|
||||||
"/usr/local/gnu"
|
"/usr/local/gnu"
|
||||||
;; OS X fink location:
|
;; OS X fink location:
|
||||||
"/sw"
|
"/sw"
|
||||||
|
;; OS X DarwinPorts location:
|
||||||
|
"/opt/local"
|
||||||
;; Hack for NU PLT's convenience:
|
;; Hack for NU PLT's convenience:
|
||||||
"/arch/gnu/packages/readline-4.2")))
|
"/arch/gnu/packages/readline-4.2")))
|
||||||
|
|
||||||
|
@ -256,11 +257,16 @@
|
||||||
headers
|
headers
|
||||||
extra-depends)
|
extra-depends)
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(xform #f xform-src.c file.c (list (let-values ([(base name dir?)
|
(xform #f
|
||||||
(split-path xform-src.c)])
|
(if (path? xform-src.c)
|
||||||
(if (path? base)
|
(path->string xform-src.c)
|
||||||
base
|
xform-src.c)
|
||||||
(current-directory)))
|
file.c
|
||||||
mz-inc-dir)))))
|
(list (let-values ([(base name dir?)
|
||||||
|
(split-path xform-src.c)])
|
||||||
|
(if (path? base)
|
||||||
|
base
|
||||||
|
(current-directory)))
|
||||||
|
mz-inc-dir)))))
|
||||||
null))
|
null))
|
||||||
#())))))))))))))
|
#())))))))))))))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user