Skip to content

Commit c695921

Browse files
author
Matthias Koeppe
committed
pkgs/sage-conf/sage_conf.py.in (SAGE_SPKG_WHEELS): Update so it works if SAGE_VENV != SAGE_LOCAL
1 parent cd3dce9 commit c695921

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkgs/sage-conf/sage_conf.py.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ THREEJS_DIR = SAGE_LOCAL + "/share/threejs-sage"
4444
OPENMP_CFLAGS = "@OPENMP_CFLAGS@"
4545
OPENMP_CXXFLAGS = "@OPENMP_CXXFLAGS@"
4646

47-
SAGE_SPKG_WHEELS = "@prefix@/var/lib/sage/wheels"
47+
# Installation location of wheels. This is determined at configuration time
48+
# and does not depend on the installation location of sage-conf.
49+
SAGE_SPKG_WHEELS = "@SAGE_VENV@".replace('${SAGE_LOCAL}', SAGE_LOCAL) + "/var/lib/sage/wheels"
4850

4951
# Entry point 'sage-config'. It does not depend on any packages.
5052

0 commit comments

Comments
 (0)