> On Feb 10, 2015, at 7:18 AM, Jack Howarth <howarth.at.f...@gmail.com> wrote:
> 
> Alexander,
>      If we are seriously going to deprecate the usage of the /usr/X11
> and /usr/X11R6 symlinks, a better and more automated approach would be
> implementing this directly in fink. Detection of a BuildDepends
> x11-dev would be used as a trigger for appending -I/usr/X11/include
> (for 10.7/10.8) and -I/opt/X11 Ifor 10.9 and later) to CPPFLAGS.

Being pedantic here, that’d be -I/usr/X11/include for 10.7 only.  10.8 and 
later all use /opt/X11 as their real X11 tree.

> Likewise, -L/usr/X11 (for 10.7/10.8) and -L/opt/X11 (for 10.9 or
> later) would be appended to LDFLAGS when a BuildDepends on x11-dev is
> detected.

As above.

>      Considering how often  --x-includes= and  --x-libraries= is
> fully or partially broken, the above approach will make configure less
> like to fail to detect X11 support.
>                     Jack
> 

Agreed.  It seems like a fair number of packages honor these flags for parts of 
their build and then don’t honor them in other parts—often having relied on the 
now nonexistent /usr/include/X11 symlink.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to