View | Details | Raw Unified | Return to bug 113573
Collapse All | Expand All

(-)Makefile (+2 lines)
Lines 27-34 Link Here
27
	${MKDIR} ${ASDF_SYSTEM_REGISTRY}
27
	${MKDIR} ${ASDF_SYSTEM_REGISTRY}
28
	${INSTALL_DATA} ${WRKSRC}/asdf.lisp ${CL_LIBDIR}/asdf/
28
	${INSTALL_DATA} ${WRKSRC}/asdf.lisp ${CL_LIBDIR}/asdf/
29
	${INSTALL_DATA} ${WRKSRC}/wild-modules.lisp ${CL_LIBDIR}/asdf/
29
	${INSTALL_DATA} ${WRKSRC}/wild-modules.lisp ${CL_LIBDIR}/asdf/
30
	${SED}	-i '' -e 's|%%PREFIX%%|${PREFIX}|' ${CL_LIBDIR}/asdf/asdf.lisp
30
	${SED}	-e 's|%%ASDF_PATHNAME%%|${CL_LIBDIR}/asdf/asdf|' \
31
	${SED}	-e 's|%%ASDF_PATHNAME%%|${CL_LIBDIR}/asdf/asdf|' \
31
		-e 's|%%ASDF_SYSTEM_REGISTRY%%|${ASDF_SYSTEM_REGISTRY}|' \
32
		-e 's|%%ASDF_SYSTEM_REGISTRY%%|${ASDF_SYSTEM_REGISTRY}|' \
33
		-e 's|%%PREFIX%%|${PREFIX}|' \
32
		${FILESDIR}/asdf-init.lisp > \
34
		${FILESDIR}/asdf-init.lisp > \
33
		${PREFIX}/etc/asdf-init.lisp.default
35
		${PREFIX}/etc/asdf-init.lisp.default
34
	[ -f ${PREFIX}/etc/asdf-init.lisp ] || \
36
	[ -f ${PREFIX}/etc/asdf-init.lisp ] || \
(-)files/asdf-init.lisp (-7 / +7 lines)
Lines 36-57 Link Here
36
;; This file takes all neccessary actions. The easiest way is to load
36
;; This file takes all neccessary actions. The easiest way is to load
37
;; it in your Lisp everytime it starts, by putting
37
;; it in your Lisp everytime it starts, by putting
38
;;
38
;;
39
;;  (load "/usr/local/etc/freebsd-lisp-init")
39
;;  (load "%%PREFIX%%/etc/freebsd-lisp-init")
40
;;
40
;;
41
;; in your init file.
41
;; in your init file.
42
;;
42
;;
43
;; Each Lisp implementation has it's own files where this can be done:
43
;; Each Lisp implementation has it's own files where this can be done:
44
;;
44
;;
45
;; CLISP:
45
;; CLISP:
46
;;   /usr/local/lib/clisp/config.lisp
46
;;   %%PREFIX%%/lib/clisp/config.lisp
47
;;   ~/.clisprc
47
;;   ~/.clisprc
48
;;
48
;;
49
;; CMUCL:
49
;; CMUCL:
50
;;   /usr/local/lib/cmucl/lib/cmucl/lib/site-init.lisp
50
;;   %%PREFIX%%/lib/cmucl/lib/cmucl/lib/site-init.lisp
51
;;   ~/.cmucl-init.lisp
51
;;   ~/.cmucl-init.lisp
52
;;
52
;;
53
;; SBCL:
53
;; SBCL:
54
;;  /usr/local/etc/sbclrc
54
;;  %%PREFIX%%/etc/sbclrc
55
;;  ~/.sbclrc
55
;;  ~/.sbclrc
56
;;
56
;;
57
;; After that, you can load your installed ports like this (using
57
;; After that, you can load your installed ports like this (using
Lines 68-74 Link Here
68
;; We mess around with asdf:output-files in interesting ways to
68
;; We mess around with asdf:output-files in interesting ways to
69
;; enforce a filesystem layout that works without multiple Lisp
69
;; enforce a filesystem layout that works without multiple Lisp
70
;; implementations overwriting their fasls. Basically, each lib has
70
;; implementations overwriting their fasls. Basically, each lib has
71
;; it's own directory in /usr/local/lib/common-lisp, initially
71
;; it's own directory in %%PREFIX%%/lib/common-lisp, initially
72
;; containing its sources. Each fasl port will create an
72
;; containing its sources. Each fasl port will create an
73
;; implementation-specific subdirectory where all it's fasls go, for
73
;; implementation-specific subdirectory where all it's fasls go, for
74
;; example ./cmuclfasl, ./clispfasl etc.
74
;; example ./cmuclfasl, ./clispfasl etc.
Lines 126-136 Link Here
126
;;;; Pathes
126
;;;; Pathes
127
127
128
(defvar *asdf-pathname*
128
(defvar *asdf-pathname*
129
  "/usr/local/lib/common-lisp/asdf/asdf"
129
  "%%PREFIX%%/lib/common-lisp/asdf/asdf"
130
  "Path of the ASDF library")
130
  "Path of the ASDF library")
131
131
132
(defvar *system-registry*
132
(defvar *system-registry*
133
  "/usr/local/lib/common-lisp/system-registry"
133
  "%%PREFIX%%/lib/common-lisp/system-registry"
134
  "FreeBSDs contribution to the entral registry for ASDF system
134
  "FreeBSDs contribution to the entral registry for ASDF system
135
definitions.  This will be added to asdf:*central-registry*, you
135
definitions.  This will be added to asdf:*central-registry*, you
136
should modify that in order to add other directories.")
136
should modify that in order to add other directories.")
(-)files/patch-asdf.lisp (-1 / +1 lines)
Lines 6-12 Link Here
6
   '(*default-pathname-defaults*
6
   '(*default-pathname-defaults*
7
-    #+nil "/home/dan/src/sourceforge/cclan/asdf/systems/"
7
-    #+nil "/home/dan/src/sourceforge/cclan/asdf/systems/"
8
-    #+nil "telent:asdf;systems;"))
8
-    #+nil "telent:asdf;systems;"))
9
+    "/usr/local/lib/common-lisp/system-registry/"))
9
+    "%%PREFIX%%/lib/common-lisp/system-registry/"))
10
 
10
 
11
 (defun sysdef-central-registry-search (system)
11
 (defun sysdef-central-registry-search (system)
12
   (let ((name (coerce-name system)))
12
   (let ((name (coerce-name system)))

Return to bug 113573