Bug 110166 - security/nss and www/firefox explicitly try to include /usr/X11R6/include
Summary: security/nss and www/firefox explicitly try to include /usr/X11R6/include
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-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-10 19:30 UTC by John Nielsen
Modified: 2007-03-21 20:20 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 John Nielsen 2007-03-10 19:30:00 UTC
	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.

Fix: 

Replace "/usr/X11R6/include" with "$X11BASE/include" in the source file.
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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-03-10 19:30:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer
Comment 2 Jeremy Messenger freebsd_committer freebsd_triage 2007-03-21 20:02:58 UTC
State Changed
From-To: open->closed

I have committed a fix, thanks for report. Make sure to have this below before 
you try it again. 

# $FreeBSD: ports/www/mozilla/Makefile.common,v 1.25 2007/03/21 20:02:48 mezz 
Exp $
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-03-21 20:02:58 UTC
mezz        2007-03-21 20:02:48 UTC

  FreeBSD ports repository

  Modified files:
    www/mozilla          Makefile.common 
  Log:
  Fix a hardcore of /usr/X11R6 to X11BASE.
  
  PR:             ports/110166
  Reported by:    John Nielsen <john@jnielsen.net>
  
  Revision  Changes    Path
  1.25      +2 -2      ports/www/mozilla/Makefile.common
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-03-21 20:14:08 UTC
mezz        2007-03-21 20:14:02 UTC

  FreeBSD ports repository

  Modified files:
    security/nss         Makefile 
  Log:
  Fix a hardcore of /usr/X11R6 to X11BASE.
  
  PR:             ports/110166
  Reported by:    John Nielsen <john@jnielsen.net>
  
  Revision  Changes    Path
  1.37      +2 -1      ports/security/nss/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"