--- Makefile.in.orig 2015-02-28 20:53:46 UTC +++ Makefile.in @@ -2221,7 +2221,7 @@ MagickFilterModulesPath = @MagickFilterM MagickLibConfigPath = @MagickLibConfigPath@ MagickLibPath = @MagickLibPath@ MagickShareConfigPath = @MagickShareConfigPath@ -MagickSharePath = @MagickSharePath@ +MagickSharePath = ${DATADIR} MogrifyDelegate = @MogrifyDelegate@ NM = @NM@ NMEDIT = @NMEDIT@ @@ -4381,7 +4381,7 @@ PERLMAGICK_MAINTAINER_TARGETS = $(top_sr @WITH_PERL_DYNAMIC_FALSE@@WITH_PERL_STATIC_TRUE@@WITH_PERL_TRUE@PERLSTATICNAME = PerlMagick # Pkgconfig directory -pkgconfigdir = $(libdir)/pkgconfig +pkgconfigdir = $(prefix)/libdata/pkgconfig # Files to install in Pkgconfig directory pkgconfig_DATA = \