File: 0003-Support-using-the-system-s-installed-stex-and-nanopa.patch

package info (click to toggle)
chezscheme 9.5.4%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 61,640 kB
  • sloc: ansic: 17,508; sh: 759; makefile: 509; csh: 423
file content (33 lines) | stat: -rw-r--r-- 1,607 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From: =?utf-8?q?G=C3=B6ran_Weinholt?= <goran@weinholt.se>
Date: Sun, 10 Dec 2017 19:18:50 +0100
Subject: Support using the nanopass installed on the system
Forwarded: not-needed

---
 s/Mf-base | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/s/Mf-base b/s/Mf-base
index c709608..1aa8d6d 100644
--- a/s/Mf-base
+++ b/s/Mf-base
@@ -414,7 +414,7 @@ mkheader.so: mkheader.ss cmacros.so primvars.so env.so
              '(compile-file "$*.ss" "$*.so")'\
              | ${Scheme} -q cmacros.so priminfo.so primvars.so env.so
 
-nanopass.so: $(shell echo ../nanopass/nanopass/*) ../nanopass/nanopass.ss
+nanopass.so: $(shell echo /usr/share/r6rs/nanopass/*) /usr/share/r6rs/nanopass.ss
 	echo '(reset-handler abort)'\
              '(base-exception-handler (lambda (c) (fresh-line) (display-condition c) (newline) (reset)))'\
              '(keyboard-interrupt-handler (lambda () (display "interrupted---aborting\n") (reset)))'\
@@ -428,8 +428,8 @@ nanopass.so: $(shell echo ../nanopass/nanopass/*) ../nanopass/nanopass.ss
              '(collect-trip-bytes (expt 2 24))'\
              '(collect-request-handler (lambda () (collect 0 1)))'\
              '(collect 1 2)'\
-             '(compile-library "../nanopass/nanopass.ss" "nanopass.so")'\
-             | ${Scheme} -q --libdirs "../nanopass${dirsep}${dirsep}." --compile-imported-libraries
+             '(compile-library "/usr/share/r6rs/nanopass.ss" "nanopass.so")'\
+             | ${Scheme} -q --libdirs "/usr/share/r6rs${dirsep}${dirsep}." --compile-imported-libraries
 
 rootsrc = $(shell cd ../../s; echo *)
 ${rootsrc}: