Bug 238296

Summary: ports-mgnt/pkg: Respect PREFIX
Product: Ports & Packages Reporter: Dirk Meyer <dinoex>
Component: Ports FrameworkAssignee: Dirk Meyer <dinoex>
Status: Closed FIXED    
Severity: Affects Some People CC: pkg
Priority: --- Keywords: easy
Version: LatestFlags: dinoex: merge-quarterly-
Hardware: Any   
OS: Any   
Attachments:
Description Flags
proposed patch koobs: maintainer-approval+

Description Dirk Meyer freebsd_committer freebsd_triage 2019-06-02 19:15:21 UTC
Created attachment 204786 [details]
proposed patch

building pkg-1.11.1 fails if PREFIX ist set.

periodic files, bash completions and pkgconfig files are not found for the package.

The proposed patch fixed the issue for me.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2019-06-03 02:23:07 UTC
Comment on attachment 204786 [details]
proposed patch

Approved by: portmgr (blanket: build fix, ports/framework compliance)
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2019-06-03 02:23:51 UTC
Reporter is committer, patch is blanket approved, assign accordingly
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-06-03 05:02:56 UTC
A commit references this bug:

Author: dinoex
Date: Mon Jun  3 05:02:53 UTC 2019
New revision: 503349
URL: https://svnweb.freebsd.org/changeset/ports/503349

Log:
  - fix build with custom PREFIX
  PR:		238296

Changes:
  head/ports-mgmt/pkg/Makefile
Comment 4 Dirk Meyer freebsd_committer freebsd_triage 2019-06-03 05:18:07 UTC
removed merge-quarterly as pkg-1.11.1 ist not in 2019Q2.

--- Makefile    (.../branches/2019Q2/ports-mgmt/pkg)    (Revision 503349)
+++ Makefile    (.../head/ports-mgmt/pkg)       (Revision 503349)
-DISTVERSION=   1.10.5
+DISTVERSION=   1.11.1