Bug 246675 - Mk/Uses/meson.mk: Add option to set source path when using Meson
Summary: Mk/Uses/meson.mk: Add option to set source path when using Meson
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-gnome mailing list
URL:
Keywords: feature, needs-qa
Depends on:
Blocks:
 
Reported: 2020-05-23 07:26 UTC by daniel.engberg.lists
Modified: 2020-05-24 09:03 UTC (History)
4 users (show)

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


Attachments
Patch for meson (2.07 KB, patch)
2020-05-23 07:26 UTC, daniel.engberg.lists
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description daniel.engberg.lists 2020-05-23 07:26:46 UTC
Created attachment 214774 [details]
Patch for meson

Ports framework assumes that Meson files are kept in ${WRKSRC} which might not
be true for all projects.

Tested with archivers/zstd with locally patched Makefile
Comment 1 daniel.engberg.lists 2020-05-23 07:33:39 UTC
Not sure why it's assigned to sunpoet@ , sorry about that.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2020-05-23 23:53:12 UTC
(In reply to daniel.engberg.lists from comment #1)

> Not sure why it's assigned to sunpoet@ , sorry about that.

Without putting a pathname in a PR synopsis, the auto-assigner tries to guess what the intention was.  It's not always correct.  Solution: always include <category>/<portname> in the synopsis, or, in this case, the pathname.

-- Mark, as bugmeister