Bug 265398 - devel/thrust: headers get installed in /usr/local/ directly rather than under /usr/local/include/
Summary: devel/thrust: headers get installed in /usr/local/ directly rather than under...
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: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-23 06:23 UTC by Giuseppe Bilotta
Modified: 2022-07-23 06:49 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Giuseppe Bilotta 2022-07-23 06:23:06 UTC
Since thrust is a header-only library, one would expect it to be installed under /usr/local/include(/thrust) rather than directly under /usr/local(/thrust).

This would allow existing software that #include <thrust/whatever> to find it simply by having the typical -I/usr/local/include in their search path.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2022-07-23 06:48:14 UTC
Thanks for your report!

Fix is committed.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-07-23 06:49:15 UTC
A commit in branch main references this bug:

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

commit 2392fd13a65ce50df5374871142c68710ae90190
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-23 06:46:43 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-23 06:48:16 +0000

    devel/thrust: Move include files under include/

    PR:             265398
    Reported by:    Giuseppe Bilotta <giuseppe.bilotta@gmail.com>

 devel/thrust/files/patch-CMakeLists.txt |   13 +-
 devel/thrust/pkg-plist                  | 1779 +++++++++++++++----------------
 2 files changed, 901 insertions(+), 891 deletions(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-07-23 06:49:16 UTC
A commit in branch 2022Q3 references this bug:

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

commit 0430463db99d21674d158f70e18a6dcda1be0d8d
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-23 06:46:43 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-23 06:48:45 +0000

    devel/thrust: Move include files under include/

    PR:             265398
    Reported by:    Giuseppe Bilotta <giuseppe.bilotta@gmail.com>

    (cherry picked from commit 2392fd13a65ce50df5374871142c68710ae90190)

 devel/thrust/files/patch-CMakeLists.txt |   13 +-
 devel/thrust/pkg-plist                  | 1779 +++++++++++++++----------------
 2 files changed, 901 insertions(+), 891 deletions(-)