Bug 270564 - devel/ptl: Add CMake build type hook to pkg-plist
Summary: devel/ptl: Add CMake build type hook to pkg-plist
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: Fernando Apesteguía
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-31 16:33 UTC by Erik Jensen
Modified: 2023-04-03 07:13 UTC (History)
1 user (show)

See Also:


Attachments
Patch which adds CMake build type hook to pkg-plist (749 bytes, patch)
2023-03-31 16:33 UTC, Erik Jensen
erik: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Jensen 2023-03-31 16:33:21 UTC
Created attachment 241233 [details]
Patch which adds CMake build type hook to pkg-plist

One of the CMake configuration files installed with this port will have a varying filename depending on the CMake variable 'CMAKE_BUILD_TYPE'.
This patch ensures that any build type will report its installed files correctly.
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2023-04-01 11:04:16 UTC
^Triage: Please set the maintainer-approval attachment flag (to +) on patches for ports you maintain to signify approval.
--
Attachment -> Details -> maintainer-approval [+]


Thanks!
Comment 2 Fernando Apesteguía freebsd_committer freebsd_triage 2023-04-03 07:13:32 UTC
Committed,

Thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-04-03 07:13:54 UTC
A commit in branch main references this bug:

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

commit 02b46e32a98f6cf89da02ec211a45158f913bd3a
Author:     Erik Jensen <erik@tenku.dk>
AuthorDate: 2023-04-01 11:00:07 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-04-03 07:08:38 +0000

    devel/ptl: Add CMake build type hook to pkg-plist

    One of the installed files changes names depending of build type.

    PR:             270564
    Reported by:    erik@tenku.dk (maintainer)

 devel/ptl/Makefile  | 1 +
 devel/ptl/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)