From ced8dcf62c777541a4829e28c33f881d7df19fd8 Mon Sep 17 00:00:00 2001 From: Minto van der Sluis Date: Sun, 2 Sep 2007 12:09:33 +0200 Subject: [PATCH] Modified inkscape .conf to properly detect lcms. - detecting lcms even when installed in non standard location. --- graphic/inkscape/inkscape.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/graphic/inkscape/inkscape.conf b/graphic/inkscape/inkscape.conf index d6a128960..e57eac1d6 100644 --- a/graphic/inkscape/inkscape.conf +++ b/graphic/inkscape/inkscape.conf @@ -13,6 +13,17 @@ # GNU General Public License can be found in the file COPYING. # --- T2-COPYRIGHT-NOTE-END --- +if pkginstalled python; then + var_append confopt ' ' "--with-python" +fi + +if pkginstalled lcms; then + var_append confopt ' ' "--enable-lcms" + # Unfortunately inkscape does not use pkg-config properly. + # Configure script does use pkg-config to detect lcms, but + # when building includedir and libdir are not used. + var_append GCC_WRAPPER_APPEND ' ' "`pkg-config lcms --cflags --libs-only-L`" +fi var_append GCC_WRAPPER_INSERT " " "-fpermissive"