jconway/plr — pull request #4 by petere (2013-01-26 03:45:26+00:00)
Title: Fix pkg-config way of finding R header files

The MacPorts installation has the header filed distributed across two different directories, so there is no single "rincludedir" to query from pkg-config. Instead, do it the proper way and ask pkg-config for the cflags, which should work for all installation variants.

See also http://stackoverflow.com/a/14508505/98530 .