git: 2fdac17cd271 - main - graphics/gdal: Respect PREFIX
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Jul 21 18:15:15 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2fdac17cd2719c1774b9b9ebe8b44711e87d4c75
commit 2fdac17cd2719c1774b9b9ebe8b44711e87d4c75
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-07-21 17:56:22 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-07-21 18:12:12 +0000
graphics/gdal: Respect PREFIX
- Install gdal.pc to PREFIX/libdata/pkgconfig/
PR: 257262
Reported by: mi
---
graphics/gdal/files/patch-GNUmakefile | 8 ++++----
1 file 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)
More information about the dev-commits-ports-all
mailing list