#9668: Fix hardcoding of paths in R binary
--------------------------------------------+-------------------------------
Reporter: kcrisman | Owner: leif
Type: defect | Status: new
Priority: major | Milestone: sage-4.7.2
Component: packages | Keywords: R spkg R.sh.in
libR.pc pkg-config hard-coded package installation R_HOME_DIR
Work_issues: Provide an R 2.10.1.p6 spkg. | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies: #9906
--------------------------------------------+-------------------------------
Comment(by leif):
Replying to [comment:9 leif]:
> * Change `libR.pc` to use either `${pc_top_builddir}` or
`$${SAGE_ROOT}`. (In the former case, perhaps also set `PC_TOP_BUILD_DIR`
to `$SAGE_ROOT`, or prepend `$SAGE_ROOT:`, unless it is already
contained.)
Should read:
* Change `libR.pc` to use either `${pc_top_builddir}` or `$${SAGE_ROOT}`.
(In the former case, set `PKG_CONFIG_TOP_BUILD_DIR` to `$SAGE_ROOT` unless
it is already, perhaps issuing a warning in case it isn't, or especially
if its setting differs.) [[BR]]
Also prepend `$SAGE_ROOT/local/lib/pkgconfig` to `PKG_CONFIG_PATH`,
unless it is already contained. Warn if `PKG_CONFIG_PATH` is empty, then
set it to `$SAGE_ROOT/local/lib/pkgconfig`.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9668#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.