# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/imagemagick/imagemagick.conf # Copyright (C) 2004 - 2023 The T2 SDE Project # Copyright (C) 1998 - 2003 ROCK Linux Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- libtool_remove_la() { : } pkginstalled perl || var_append extraconfopt ' ' '--without-perl' var_append confopt ' ' "--disable-ltdl-install" var_append confopt ' ' "--docdir=$docdir" # Options var_append confopt ' ' "--enable-shared" var_append confopt ' ' "--with-modules" var_append confopt ' ' "--with-x" var_append confopt ' ' "--enable-lzw" if atstage cross; then var_append configprefix " " "CPPFLAGS=\"-I$root/$(pkg-config --variable=includedir fontconfig) -I$root/$(pkg-config --variable=includedir libxml-2.0)/libxml2\"" var_append configprefix " " "CFLAGS=\"-I$root/$(pkg-config --variable=includedir fontconfig) -I$root/$(pkg-config --variable=includedir libxml-2.0)/libxml2\"" var_append configprefix " " "LDFLAGS=\"-L$root/$(pkg-config --variable=libdir fontconfig)\"" fi # Quick & Dirty hack for the perllocal problem . $base/package/*/perl/perllocal_hack.sh