imagemagick: copy *-config files to staging dir
authorEneas U de Queiroz <redacted>
Fri, 26 Feb 2021 14:58:40 +0000 (11:58 -0300)
committerEneas U de Queiroz <redacted>
Mon, 1 Mar 2021 01:30:08 +0000 (22:30 -0300)
commit26fd0cbac936573dfb984bc721cddd46417d64f3
tree6d2153e2bd85dfaaee799f20274d8fd7066c9ff3
parent7abef02024448a3b45853f0c6b7bf343bcf36007
imagemagick: copy *-config files to staging dir

We need to copy MagickWand-config, which handles pkg-config data, to the
staging dir, so that dependent packages can use it.  php7-pecl-imagick,
for example, may otherwise use an eventual host-installed file, causing
compilation to fail.  There's also a MagickCore-config file that does
the same thing for the MagickCore library, so a *-config wilcard is used
to handle all cases.

Since configure is called with --prefix=/usr, use $(SED) to change
definition of prefix and exec_prefix lines in *-config from /usr to
$(STAGING_DIR)/usr.

Signed-off-by: Eneas U de Queiroz <redacted>
multimedia/imagemagick/Makefile
git clone https://git.99rst.org/PROJECT