Bug 237528

Summary: lang/racket: state option dependencies, unbreak on i386
Product: Ports & Packages Reporter: m.ne
Component: Individual Port(s)Assignee: Jimmy Olgeni <olgeni>
Status: Closed FIXED    
Severity: Affects Only Me Flags: olgeni: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
changed port options
none
unbreak building on i386 with jit enabled none

Description m.ne 2019-04-24 14:28:44 UTC
Created attachment 203967 [details]
changed port options

As enabling the jit is required for futures support, it seems reasonable that the ports system knows about this.

Conversely, without jit enabled, racket should build an run on i386 just fine. Therefore changing the option defaults should make the port available there again.

(One small caveat: At the moment I don't have a machine ready to test the situation on i386, but since that was the case when I did, I'm quite confident that it is not too difficult to confirm.)
Comment 1 m.ne 2019-11-26 02:47:19 UTC
Created attachment 209437 [details]
unbreak building on i386 with  jit enabled
Comment 2 commit-hook freebsd_committer 2019-11-26 11:21:52 UTC
A commit references this bug:

Author: olgeni
Date: Tue Nov 26 11:21:24 UTC 2019
New revision: 518462
URL: https://svnweb.freebsd.org/changeset/ports/518462

Log:
  lang/racket and lang/racket-minimal: make FUTURES depend on JIT.

  Set CFLAGS only for amd64 with JIT enabled, so as to unbreak i386
  (poudriere confirms.)

  PR:           237528
  Submitted by: m.ne@gmx.net

Changes:
  head/lang/racket/Makefile
  head/lang/racket-minimal/Makefile
Comment 3 Jimmy Olgeni freebsd_committer 2019-11-26 11:23:08 UTC
Thanks! \o/