Sjors,
      While working on an update to graphviz, I noticed it wasn't
using the ANN library because of the missing pkgconfig file. I've
checked in the following change based on the Fedora spec file to solve
this.
                  Jack

Index: libann.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/sci/libann.info,v
retrieving revision 1.2
diff -r1.2 libann.info
3c3
< Revision: 1
---
> Revision: 2
21c21,22
< mkdir %i/bin %i/lib %i/include
---
> #!/bin/sh -ev
> mkdir -p %i/bin %i/lib/pkgconfig %i/include
24a26,41
>
> # create pkg-config file
> cat << EOF > %i/lib/pkgconfig/ann.pc
> prefix = %p
> exec_prefix = \${prefix}
> libdir = \${exec_prefix}/lib
> includedir = \${prefix}/include
>
> Name: ann
> Description: Library for searching Approximate Nearest Neighbors
> Version: %v
> Requires:
> Libs: -L\${libdir} -lANN
> Cflags: -I\${includedir}
> EOF
>

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