Bug 160351 - www/libxul installs incorrect mozilla-nss.pc
Summary: www/libxul installs incorrect mozilla-nss.pc
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: freebsd-gecko (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-01 05:20 UTC by Peter.Jeremy
Modified: 2015-10-16 20:14 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter.Jeremy 2011-09-01 05:20:09 UTC
	After upgrading to libxul-1.9.2.17_1, "pkg-config --libs mozilla-nss"
	returns:
-Wl,-rpath,/usr/local/lib/libxul -pthread -L/usr/local/lib/libxul/sdk/lib -L/usr/local/lib -lsmime3 -lssl3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4  
	The problem is that none of -lsmime3 -lssl3 -lnss3 -lnssutil3
	are located in either /usr/local/lib/libxul/sdk/lib or /usr/local/lib.
	They are all located in /usr/local/lib/libxul - which is only
	in the runtime search path.
	(-lplds4 -lplc4 -lnspr4 are located in /usr/local/lib).

	This causes link failures for programs that use mozilla-nss

Fix: 

Not known
How-To-Repeat: 	Run "pkg-config --libs mozilla-nss"
	Compare with "ls /usr/local/lib/libxul /usr/local/lib/libxul/sdk/lib /usr/local/lib"
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-09-01 05:20:20 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-07-27 14:57:26 UTC
State Changed
From-To: open->closed

The bogus mozilla-nss.pc is not installed any longer
Comment 3 commit-hook freebsd_committer freebsd_triage 2015-10-16 20:13:02 UTC
A commit references this bug:

Author: feld
Date: Fri Oct 16 20:12:06 UTC 2015
New revision: 399512
URL: https://svnweb.freebsd.org/changeset/ports/399512

Log:
  devel/pcre: convert LIBEDIT and READLINE to RADIO options

  It's not possible for both to be enabled at the same time, so use RADIO
  to prevent a user from trying to enable both.

  PR:		160351
  Approved by:	maintainer timeout

Changes:
  head/devel/pcre/Makefile
Comment 4 Mark Felder freebsd_committer freebsd_triage 2015-10-16 20:14:47 UTC
(In reply to commit-hook from comment #3)

This was an error on my part. It was meant for PR 202657