Bug 172164 - [PATCH] security/nss: fix 'make install' when built with clang
[PATCH] security/nss: fix 'make install' when built with clang
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: gecko
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-29 16:50 UTC by Sunpoet Po-Chuan Hsieh
Modified: 2012-10-10 22:18 UTC (History)
1 user (show)

See Also:


Attachments
nss-3.13.6.patch (518 bytes, patch)
2012-09-29 16:50 UTC, Sunpoet Po-Chuan Hsieh
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sunpoet Po-Chuan Hsieh freebsd_committer 2012-09-29 16:50:06 UTC
- Fix 'make install' when built with clang

To build port with clang, I have following lines in /etc/make.conf:
CC=     /usr/bin/clang
CPP=    /usr/bin/clang-cpp
CXX=    /usr/bin/clang++

The installation failed when it tries to copy *.so.1 from ${BINS}, which should
be either ${DIST}/${OPSYS}${OSREL}_OPT.OBJ or ${DIST}/${OPSYS}${OSREL}_DBG.OBJ.
However, it's actually ${DIST}/${OPSYS}${OSREL}_clang_OPT.OBJ if DEBUG option is
off. This patch simply sets COMPILER_TAG empty to avoid such condition.

Port maintainer (gecko@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: SVN)
Comment 1 Edwin Groothuis freebsd_committer 2012-09-29 16:50:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gecko

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Florian Smeets freebsd_committer 2012-10-10 22:18:32 UTC
State Changed
From-To: open->closed

Should be fixed in r305684