Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2007 14:25:37 -0500 (EST)
From:      John Nielsen <john@jnielsen.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        John Nielsen <john@jnielsen.net>
Subject:   ports/110166: security/nss and www/firefox explicitly try to include /usr/X11R6/include
Message-ID:  <200703101925.l2AJPbWp014884@stealth.jnielsen.net>
Resent-Message-ID: <200703101930.l2AJU1Sk054498@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         110166
>Category:       ports
>Synopsis:       security/nss and www/firefox explicitly try to include /usr/X11R6/include
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 10 19:30:00 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     John Nielsen
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD stealth.jnielsen.net 6.2-STABLE FreeBSD 6.2-STABLE #1: Tue Jan 23 21:51:42 EST 2007 john@stealth.jnielsen.net:/usr/obj/usr/src/sys/STEALTH i386


	
>Description:
	In both ports, the mozilla/security/coreconf/FreeBSD.mk file has a 
 -I/usr/X11R6/include flag on line 89. If the directory doesn't exist the build will fail.
This should be patched (either in our ports or upstream) to use $X11BASE, especially since
/usr/X11R6 will be going away soon.
	
>How-To-Repeat:
	Set $X11BASE to /usr/local in /etc/make.conf on a clean system (empty /usr/X11R6)
and try to build firefox. I actually did 
"rmdir /usr/X11R6 && touch /usr/X11R6 && chflags schg /usr/X11R6" before I started the
build (reinstalling all my ports from modularXorg's git tree) just so I could catch
any references to it.

>Fix:

	Replace "/usr/X11R6/include" with "$X11BASE/include" in the source file.


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703101925.l2AJPbWp014884>