ports/math/jacal/files/patch-jacal.sh
Muhammad Moinur Rahman 85e1af6fa6 math/jacal: Update version 1c4=>1c7
- Remove USES=perl5
- Add USES=makeinfo
- Clean the patches

Relnotes:	https://people.csail.mit.edu/jaffer/JACAL_ANNOUNCE.txt
2020-03-30 20:47:10 +00:00

13 lines
416 B
Bash

--- 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