> On Feb 10, 2015, at 6:44 PM, Jack Howarth <howarth.at.f...@gmail.com> wrote:
> 
> Hanspeter,
>      Now that a working implementation for the automatic appending of
> the appropriate X11 include and linker flags to CPPFLAGS and LDFLAGS
> has been checked in to fink git...
> 
> http://sourceforge.net/p/fink/patches/158/ 
> <http://sourceforge.net/p/fink/patches/158/>

It’s in a branch covered by a pull request. 

And before we call it “working”, I’d like to verify that it works _in all 
aspects_.  For example, does your automatic implementation give the right 
results from “fink dumpinfo -eLDFLAGS <packagename>” and “fink dumpinfo 
-eCPPFLAGS <packagename>” for packages that BuildDepend on x11-dev? 

> 
> we need the to implement the other half required for fully migrating
> off of depending on the X11 convenience symlinks. If you can enhance
> the existing fink-buildenv-modules.info to provide build time
> variables for XORG_INCL_PATH and XORG_LINK_PATH which would be
> conditionally set to
> 
> XORG_INCL_PATH=/usr/X11/include
> XORG_LIB_PATH=/usr/X11/lib
> 
> when the running OS is darwin11 or earlier and
> 
> XORG_INCL_PATH=/opt/X11/include
> XORG_LIB_PATH=/opt/X11/lib
> 
> otherwise, this would allow package maintainers to stop hard-coding in
> the fully deprecated /usr/X11R based paths and the partially
> deprecated /usr/X11 paths.
>       Jack


Please elaborate upon why just allowing individual .info to set CPPFLAGS and 
LDFLAGS based on XORG_INCL_PATH and XORG_LIB_PATH from fink-buildenv-modules 
isn’t sufficient.   Having the environment get set by default by fink is less 
transparent to maintainers than doing it in individual .info files.

-- 
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