libgraphviz238-shlibs-2.38.0-4 ruby detection broken

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Organization Snaggled Works
Message-ID <[email protected]>
libgraphviz238-shlibs-2.38.0-4 tries to use system-ruby, but it's 
detection is broken and causes several problems.

1) It finds my ruby19-dev headers and gv.so links to ruby19-shlibs (even 
if I have ruby20 installed).
2) It installs the following file: 
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/universal-darwin13/gv.so
3) The file is actually a symlink that points back to build dir: 
/sw/src/fink.build/root-libgraphviz238-shlibs-2.38.0-4/sw/lib/graphviz-2.38/graphviz/ruby/libgv_ruby.so

The bad headers and linking can be worked around by adding the following 
to %c:
RUBY_CFLAGS=-I${system_ruby_include} RUBY_LIBS=-Wl,-framework,Ruby

This however, still does not fix the bad install file location.

This problem can probably only be reliably fixed by changing the Ruby 
used to one of Fink's ruby packages.

Hanspeter

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.