Bug 245076 - graphics/netpbm: Can't change C compiler option via CC environment variable
Summary: graphics/netpbm: Can't change C compiler option via CC environment variable
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tobias Kortkamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-26 15:57 UTC by papadavecn
Modified: 2020-03-27 07:42 UTC (History)
1 user (show)

See Also:
linimon: maintainer-feedback? (tobik)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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