Bug 220341

Summary: math/R: R internal package builds fail because it uses 'make', not 'gmake'
Product: Ports & Packages Reporter: Yuri Victorovich <yuri>
Component: Individual Port(s)Assignee: Joseph Mingrone <jrm>
Status: Closed FIXED    
Severity: Affects Only Me CC: rhurlin
Priority: --- Flags: bugzilla: maintainer-feedback? (jrm)
Version: Latest   
Hardware: Any   
OS: Any   

Description Yuri Victorovich freebsd_committer 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 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 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 2017-06-28 20:03:41 UTC
It works.

Thanks, Joseph.