summaryrefslogtreecommitdiff
path: root/math/jacal/files/patch-jacal.sh
blob: feea5807e8d449a3ee77b971a01adeb1603e0e09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- jacal.sh.orig	2020-03-30 18:18:24 UTC
+++ jacal.sh
@@ -103,8 +103,8 @@ case $implementation in
 	fi
 	fi
 	if [ -z "${SCHEME_LIBRARY_PATH}" ]; then
-	    if [ -d /usr/local/lib/slib/ ]; then
-		SCHEME_LIBRARY_PATH=/usr/local/lib/slib/
+	    if [ -d %%PREFIX%%/lib/slib/ ]; then
+		SCHEME_LIBRARY_PATH=%%PREFIX%%/lib/slib/
 	    elif [ -d /usr/share/slib/ ]; then
 		SCHEME_LIBRARY_PATH=/usr/share/slib/
 	    fi