Bug 257262

Summary: graphics/gdal not PREFIX-safe: libdata/pkgconfig/gdal.pc
Product: Ports & Packages Reporter: Mikhail Teterin <mi>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Some People Keywords: needs-patch
Priority: --- Flags: bugzilla: maintainer-feedback? (sunpoet)
koobs: merge-quarterly?
Version: Latest   
Hardware: Any   
OS: Any   

Description Mikhail Teterin freebsd_committer 2021-07-19 04:43:47 UTC
Although PREFIX is set to /opt here, and most of gdal is installed under ${STAGEDIR}/opt, one file, the gdal.pc, gets installed into ${STAGEDIR}/usr/local/libdata/pkgconfig/gdal.pc
Comment 1 commit-hook freebsd_committer 2021-07-21 18:15:58 UTC
A commit in branch main references this bug:

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(-)
Comment 2 Po-Chuan Hsieh freebsd_committer 2021-07-21 18:24:48 UTC
Committed. Thanks!