aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-07-21 17:56:22 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-07-21 18:12:12 +0000
commit2fdac17cd2719c1774b9b9ebe8b44711e87d4c75 (patch)
treeaeeaa673c42fc2af27a57f82eec7ac01533054b2
parent6d01cdda4513e2d77eeb6f0be051ddd4b0e80546 (diff)
downloadports-2fdac17cd2719c1774b9b9ebe8b44711e87d4c75.tar.gz
ports-2fdac17cd2719c1774b9b9ebe8b44711e87d4c75.zip
graphics/gdal: Respect PREFIX
- Install gdal.pc to PREFIX/libdata/pkgconfig/ PR: 257262 Reported by: mi
-rw-r--r--graphics/gdal/files/patch-GNUmakefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/gdal/files/patch-GNUmakefile b/graphics/gdal/files/patch-GNUmakefile
index fbdcee9f7a2a..f8e8de1e84da 100644
--- a/graphics/gdal/files/patch-GNUmakefile
+++ b/graphics/gdal/files/patch-GNUmakefile
@@ -9,8 +9,8 @@
$(LIBTOOL_FINISH) $(DESTDIR)$(INST_LIB)
- $(INSTALL_DIR) $(DESTDIR)$(INST_LIB)/pkgconfig
- $(INSTALL_DATA) gdal.pc $(DESTDIR)$(INST_LIB)/pkgconfig/gdal.pc
-+ $(INSTALL_DIR) $(DESTDIR)/usr/local/libdata/pkgconfig
-+ $(INSTALL_DATA) gdal.pc $(DESTDIR)/usr/local/libdata/pkgconfig/gdal.pc
++ $(INSTALL_DIR) $(DESTDIR)$(INST_PREFIX)/libdata/pkgconfig
++ $(INSTALL_DATA) gdal.pc $(DESTDIR)$(INST_PREFIX)/libdata/pkgconfig/gdal.pc
install-actions: install-lib
$(INSTALL_DIR) $(DESTDIR)$(INST_BIN)
@@ -23,8 +23,8 @@
$(LIBTOOL_FINISH) $(DESTDIR)$(INST_LIB)
- $(INSTALL_DIR) $(DESTDIR)$(INST_LIB)/pkgconfig
- $(INSTALL_DATA) gdal.pc $(DESTDIR)$(INST_LIB)/pkgconfig/gdal.pc
-+ $(INSTALL_DIR) $(DESTDIR)/usr/local/libdata/pkgconfig
-+ $(INSTALL_DATA) gdal.pc $(DESTDIR)/usr/local/libdata/pkgconfig/gdal.pc
++ $(INSTALL_DIR) $(DESTDIR)$(INST_PREFIX)/libdata/pkgconfig
++ $(INSTALL_DATA) gdal.pc $(DESTDIR)$(INST_PREFIX)/libdata/pkgconfig/gdal.pc
ifeq ($(HAVE_LIBTOOL),yes)