Bug 232563

Summary: devel/yaml-cpp03: fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Mark Linimon <linimon>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon, tim
Priority: --- Flags: bugzilla: maintainer-feedback? (tim)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch
none
v2 none

Description Piotr Kubaj freebsd_committer freebsd_triage 2018-10-23 15:58:04 UTC
Created attachment 198502 [details]
patch

Generated build.ninja is wrong and causes build failure (at least on powerpc64):
https://talos.anongoth.pl/data/powerpc64-default/2018-10-23_15h24m27s/logs/errors/yaml-cpp03-0.3.0.log

Switch to USES=cmake:noninja to fix this issue.

Hardware sponsored by IntegriCloud.
Comment 1 Piotr Kubaj freebsd_committer freebsd_triage 2018-10-23 16:43:16 UTC
Created attachment 198505 [details]
v2

I found a better fix, replacing $(MAKE) with make in CMakeLists.txt helps.
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-11-05 20:06:24 UTC
A commit references this bug:

Author: linimon
Date: Mon Nov  5 20:05:43 UTC 2018
New revision: 484214
URL: https://svnweb.freebsd.org/changeset/ports/484214

Log:
  Generated build.ninja is wrong on powerpc64.  Replace $(MAKE) with
  "make" in CMakeLists.txt.

  PR:		232563
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Changes:
  head/devel/yaml-cpp03/Makefile
  head/devel/yaml-cpp03/files/patch-CMakeLists.txt