Bug 238515

Summary: sysutils/minipro: fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: linimon
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-06-12 07:42:12 UTC
Created attachment 205002 [details]
patch

This port needs new GCC to build on GCC architectures.

Actually respect CC by not replacing it with clang, instead remove it to use CC passed from ports.

Also respect CFLAGS.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2019-06-12 07:42:12 UTC
Maintainer informed via mail
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2019-07-06 20:08:14 UTC
This built for me on powerpc64 20190627.  As mentor, I approve it for commit via maintainer-timeout.
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2019-07-06 20:10:43 UTC
(In reply to Mark Linimon from comment #2)

Well, actually, I tested the earlier version of the patch, but the timeout still applies.  Close in favor of D20819.
Comment 4 commit-hook freebsd_committer freebsd_triage 2019-07-09 09:50:00 UTC
A commit references this bug:

Author: pkubaj
Date: Tue Jul  9 09:49:19 UTC 2019
New revision: 506276
URL: https://svnweb.freebsd.org/changeset/ports/506276

Log:
  sysutils/minipro: fix build with GCC-based architectures

  This port needs new GCC to build on GCC architectures.

  Actually respect CC by putting ?= instead of =.

  Also respect CFLAGS and remove post-patch step, instead use a separate patch file.

  PR: 238515
  Approved by:	mat (mentor)
  Differential Revision:	https://reviews.freebsd.org/D20819

Changes:
  head/sysutils/minipro/Makefile
  head/sysutils/minipro/files/
  head/sysutils/minipro/files/patch-Makefile