Bug 245076

Summary: graphics/netpbm: Can't change C compiler option via CC environment variable
Product: Ports & Packages Reporter: papadavecn
Component: Individual Port(s)Assignee: Tobias Kortkamp <tobik>
Status: Closed FIXED    
Severity: Affects Only Me CC: tobik
Priority: --- Flags: linimon: maintainer-feedback? (tobik)
Version: Latest   
Hardware: Any   
OS: Any   

Description papadavecn 2020-03-26 15:57:03 UTC

    
Comment 1 papadavecn 2020-03-26 16:02:57 UTC
It always use cc to compile netpbm. Even I passed env variable CC=gcc to gmake. So
maybe consider add CC build vaiable in Makefile. Thanks
Comment 2 papadavecn 2020-03-26 16:08:04 UTC
Sorry . I used BSD make to build this . Not gmake.
Comment 3 commit-hook freebsd_committer freebsd_triage 2020-03-27 07:42:03 UTC
A commit references this bug:

Author: tobik
Date: Fri Mar 27 07:35:00 UTC 2020
New revision: 529232
URL: https://svnweb.freebsd.org/changeset/ports/529232

Log:
  graphics/netpbm: Reexport CC

  Support inheriting CC from the build environment.  `make CC=foo`
  works like it should but `env CC=foo make` does not.

  PR:		245076

Changes:
  head/graphics/netpbm/Makefile