ports/graphics/GraphicsMagick/files/patch-magick__Makefile.in
Greg Larkin 0f9d4fa801 - Upgraded to 1.1.14.
- Made various stylistic fixes to Makefile.

- Broke files/patch-* files into individiual patch
  files and used "make makepatch" to name them all
  correctly.

- Removed NOPORTDOCS support, pending support in
  upstream package installation process.

Reviewed by:	beech, itetcu
Approved by:	beech (mentor, implicit)
2008-09-02 17:09:03 +00:00

20 lines
692 B
Text

--- ./magick/Makefile.in.orig 2008-04-10 11:16:24.000000000 -0400
+++ ./magick/Makefile.in 2008-09-02 08:05:29.000000000 -0400
@@ -612,7 +612,7 @@
pkgdata_DATA =
# Pkgconfig directory
-pkgconfigdir = $(libdir)/pkgconfig
+pkgconfigdir = $(prefix)/libdata/pkgconfig
# Files to install in Pkgconfig directory
pkgconfig_DATA = GraphicsMagick.pc
@@ -876,7 +876,7 @@
done
install-pkgDATA: $(pkg_DATA)
@$(NORMAL_INSTALL)
- test -z "$(pkgdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
+ test -z "$(pkgdir)" -o -z '$(pkg_DATA)' || $(MKDIR_P) "$(DESTDIR)$(pkgdir)"
@list='$(pkg_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=$(am__strip_dir) \