Bug 40271

Summary: System CFLAGS not included everywhere in the XFree86-4-libraries port
Product: Ports & Packages Reporter: dmmiller <dmmiller>
Component: Individual Port(s)Assignee: Eric Anholt <anholt>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description dmmiller 2002-07-06 18:40:01 UTC
The XFree86-4-libraries port doesn't include the CFLAGS specified in
/etc/make.conf on all compile lines, specifically those cc lines that
compile object files into "unshared" directories.  This patch ensures
that the CFLAGS are included on all compile lines.  This patch is
platform independent to the best of my knowledge.

Fix: Apply this patch.  Note that this patch deletes files/patch-c*, as
they are not needed anymore.
How-To-Repeat: Try compiling the XFree86-4-libraries port.  Note that the CFLAGS
specified in /etc/make.conf won't be included on all compile lines.
I'd recommend testing this patch with /usr/X11R6/lib/X11/config moved
out of the way, because this port tends to read in the CFLAGS
specified in host.def or xf86site.def in an already existing
/usr/X11R6 installation.   I.e., 

mv /usr/X11R6/lib/X11/config /usr/X11R6/lib/X11/config.old
Comment 1 Patrick Li freebsd_committer freebsd_triage 2002-07-26 00:34:42 UTC
Responsible Changed
From-To: freebsd-ports->anholt

Over to maintainer
Comment 2 Eric Anholt freebsd_committer freebsd_triage 2002-10-17 08:31:05 UTC
State Changed
From-To: open->closed

Committed, thanks!