Bug 122389 - archivers/unzip does not respect CC
Summary: archivers/unzip does not respect CC
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Andrey A. Chernov
Depends on:
Reported: 2008-04-02 23:50 UTC by Frank
Modified: 2008-04-03 22:50 UTC (History)
0 users

See Also:

file.diff (810 bytes, patch)
2008-04-02 23:50 UTC, Frank
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank 2008-04-02 23:50:00 UTC
The archivers/unzip port does not respect $CC, but does respect $CFLAGS. This is problematic in a situation, where the custom CFLAGS do not work with the default CC.
With my patch applied, the correct $CC is used to build the port.

Fix: cd /usr/ports/archivers/unzip && patch -p1 < patch.txt

Patch attached with submission follows:
How-To-Repeat: cd /usr/ports/archivers/unzip
make clean && CC=gcc43 CFLAGS+=-march=core make
Comment 1 Edwin Groothuis freebsd_committer 2008-04-02 23:50:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ache

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2008-04-03 22:43:43 UTC
ache        2008-04-03 21:43:39 UTC

  FreeBSD ports repository

  Modified files:
    archivers/unzip      Makefile 
  Honor CC
  Reorganize LOCAL_UNZIP
  PR:             122389
  Submitted by:   Frank Fenor <frank@fenor.de> (CC part)
  Revision  Changes    Path
  1.59      +6 -4      ports/archivers/unzip/Makefile
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Andrey A. Chernov freebsd_committer 2008-04-03 22:46:32 UTC
State Changed
From-To: open->closed