Bug 220341 - math/R: R internal package builds fail because it uses 'make', not 'gmake'
Summary: math/R: R internal package builds fail because it uses 'make', not 'gmake'
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Joseph Mingrone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-28 18:00 UTC by Yuri Victorovich
Modified: 2017-06-28 20:03 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (jrm)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2017-06-28 18:00:15 UTC
For example:
> install.packages("rgl")
fails with make problems.

Setting MAKE environment variable to gmake helps, but R port should do this automatically on FreeBSD to prevent user confusion.

gmake should also be added to RUN_DEPENDS.
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-06-28 19:12:36 UTC
A commit references this bug:

Author: jrm
Date: Wed Jun 28 19:11:32 UTC 2017
New revision: 444603
URL: https://svnweb.freebsd.org/changeset/ports/444603

Log:
  math/R: Build with gmake and add devel/gmake to RUN_DEPENDS because some
  internal packages use GNU make.  While here, sort ONLY_FOR_ARCHS value to
  silence portlint warning.

  PR:		220341
  Reported by:	yuri@rawbw.com

Changes:
  head/math/R/Makefile
Comment 2 Joseph Mingrone freebsd_committer freebsd_triage 2017-06-28 19:15:42 UTC
I've switched the build to use gmake and added a run-time dependency on devel/gmake.  I'll wait a bit for you to confirm everything is working.  If it is, please close the bug report.

Thanks,

Joseph
Comment 3 Yuri Victorovich freebsd_committer freebsd_triage 2017-06-28 20:03:41 UTC
It works.

Thanks, Joseph.