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