[Midnightbsd-cvs] [MidnightBSD/mports] e62c57: Mk/cran.mk: set R_LIBS_SITE so fake install finds ...

Lucas Holt noreply at github.com
Sun May 17 14:26:43 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: e62c573d774589e0aee886cc214820192d27dda3
      https://github.com/MidnightBSD/mports/commit/e62c573d774589e0aee886cc214820192d27dda3
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-05-17 (Sun, 17 May 2026)

  Changed paths:
    M Mk/extensions/cran.mk

  Log Message:
  -----------
  Mk/cran.mk: set R_LIBS_SITE so fake install finds real R packages

During fake install PREFIX is rewritten to the fake destdir, causing
R CMD INSTALL to search an empty library for declared dependencies.
Set R_LIBS_SITE to TRUE_PREFIX/lib/R/library (always the real prefix)
so R finds already-installed packages regardless of the faked PREFIX.

Fixes: graphics/R-cran-scales and any other R port with R package deps.

Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications


More information about the Midnightbsd-cvs mailing list