Bug 272100 - multimedia/gstreamer1 not PREFIX-safe
Summary: multimedia/gstreamer1 not PREFIX-safe
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Thomas Zander
URL:
Keywords: easy, patch
Depends on:
Blocks: 272141
  Show dependency treegraph
 
Reported: 2023-06-20 18:12 UTC by Mikhail T.
Modified: 2023-06-24 11:53 UTC (History)
2 users (show)

See Also:
riggs: maintainer-feedback+


Attachments
Fix hard-coded reference to /usr/local (742 bytes, patch)
2023-06-20 18:12 UTC, Mikhail T.
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail T. 2023-06-20 18:12:18 UTC
Created attachment 242893 [details]
Fix hard-coded reference to /usr/local

There is one entry in the port's pkg-plist, the breaks installation on a system, where PREFIX is anything other than /usr/local

The attached patch fixes it by using the RESETPREFIX variable.
Comment 1 Mikhail T. 2023-06-20 20:30:29 UTC
Yes, I knew I once fixed this! Bug 245242
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-06-24 11:40:39 UTC
A commit in branch main references this bug:

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

commit ced4dbad8d19aa40665c8f594ab6dabb571c574e
Author:     Thomas Zander <riggs@FreeBSD.org>
AuthorDate: 2023-06-24 11:33:59 +0000
Commit:     Thomas Zander <riggs@FreeBSD.org>
CommitDate: 2023-06-24 11:39:42 +0000

    Update gstreamer1 to upstream release 1.22.4

    PR:             272141, 272100

 Mk/Uses/gstreamer.mk                            |  2 +-
 multimedia/gstreamer1-editing-services/Makefile |  2 +-
 multimedia/gstreamer1-editing-services/distinfo |  6 +++---
 multimedia/gstreamer1-libav/distinfo            |  6 +++---
 multimedia/gstreamer1-plugins-all/Makefile      |  3 +--
 multimedia/gstreamer1-plugins-core/Makefile     |  3 +--
 multimedia/gstreamer1-plugins/Makefile          |  2 +-
 multimedia/gstreamer1-plugins/distinfo          | 18 +++++++++---------
 multimedia/gstreamer1-rtsp-server/Makefile      |  4 ++--
 multimedia/gstreamer1-rtsp-server/distinfo      |  6 +++---
 multimedia/gstreamer1-vaapi/Makefile            |  3 +--
 multimedia/gstreamer1-vaapi/distinfo            |  6 +++---
 multimedia/gstreamer1-vaapi/pkg-plist           |  1 -
 multimedia/gstreamer1/Makefile                  |  4 ++--
 multimedia/gstreamer1/distinfo                  |  6 +++---
 multimedia/gstreamer1/pkg-plist                 |  2 +-
 multimedia/py-gstreamer1/Makefile               |  2 +-
 multimedia/py-gstreamer1/distinfo               |  6 +++---
 18 files changed, 39 insertions(+), 43 deletions(-)