Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2021 18:15:12 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2fdac17cd271 - main - graphics/gdal: Respect PREFIX
Message-ID:  <202107211815.16LIFCeh045383@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2fdac17cd2719c1774b9b9ebe8b44711e87d4c75

commit 2fdac17cd2719c1774b9b9ebe8b44711e87d4c75
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-07-21 17:56:22 +0000
Commit:     Po-Chuan Hsieh <sunpoet@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)
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107211815.16LIFCeh045383>