Bug 257262 - graphics/gdal not PREFIX-safe: libdata/pkgconfig/gdal.pc
Summary: graphics/gdal not PREFIX-safe: libdata/pkgconfig/gdal.pc
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Po-Chuan Hsieh
URL:
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2021-07-19 04:43 UTC by Mikhail Teterin
Modified: 2021-07-21 18:24 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (sunpoet)
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Teterin freebsd_committer freebsd_triage 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 freebsd_triage 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 freebsd_triage 2021-07-21 18:24:48 UTC
Committed. Thanks!