Bug 239157

Summary: lang/ocaml: fix build on armv7
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon, michipili
Priority: --- Flags: bugzilla: maintainer-feedback? (michipili)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch
none
v2 pkubaj: maintainer-approval? (michipili)

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-07-12 11:16:43 UTC
Created attachment 205711 [details]
patch

armv7 requires -Wl,-znotext in LDFLAGS (same as i386), added definition for triple target and include term.h in the test for tgetent.
Comment 1 Piotr Kubaj freebsd_committer freebsd_triage 2019-07-12 11:19:35 UTC
Created attachment 205712 [details]
v2

Spacetime profiling is unavailable on armv7 as well.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-08-01 19:31:13 UTC
A commit references this bug:

Author: pkubaj
Date: Thu Aug  1 19:30:39 UTC 2019
New revision: 507827
URL: https://svnweb.freebsd.org/changeset/ports/507827

Log:
  lang/ocaml: fix build on armv7

  armv7 requires -Wl,-znotext in LDFLAGS (same as i386), added definition for triple target and include term.h in the test for tgetent.

  PR:		239157
  Approved by:	michipili@gmail.com (maintainer timeout), tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D21085

Changes:
  head/lang/ocaml/Makefile
  head/lang/ocaml/files/patch-configure