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"