Bug 172164

Summary: [PATCH] security/nss: fix 'make install' when built with clang
Product: Ports & Packages Reporter: Po-Chuan Hsieh <sunpoet>
Component: Individual Port(s)Assignee: freebsd-gecko (Nobody) <gecko>
Status: Closed FIXED    
Severity: Affects Only Me CC: gecko
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
nss-3.13.6.patch none

Description Po-Chuan Hsieh freebsd_committer freebsd_triage 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 freebsd_triage 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 freebsd_triage 2012-10-10 22:18:32 UTC
State Changed
From-To: open->closed

Should be fixed in r305684