Bug 238296 - ports-mgnt/pkg: Respect PREFIX
Summary: ports-mgnt/pkg: Respect PREFIX
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dirk Meyer
URL:
Keywords: easy
Depends on:
Blocks:
 
Reported: 2019-06-02 19:15 UTC by Dirk Meyer
Modified: 2019-06-03 05:18 UTC (History)
1 user (show)

See Also:
dinoex: merge-quarterly-


Attachments
proposed patch (455 bytes, patch)
2019-06-02 19:15 UTC, Dirk Meyer
koobs: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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