Bug 196871 - Mk/Uses/mono.mk: modernize gac macros
Summary: Mk/Uses/mono.mk: modernize gac macros
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-19 09:15 UTC by Jan Beich
Modified: 2023-08-10 11:35 UTC (History)
1 user (show)

See Also:


Attachments
wip (2 ports converted) (2.00 KB, patch)
2015-01-19 09:15 UTC, Jan Beich
no flags Details | Diff
remove GACUTIL* (541 bytes, patch)
2023-08-07 16:07 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2015-01-19 09:15:05 UTC
Created attachment 151834 [details]
wip (2 ports converted)

GACUTIL macros have the following problems:
- no staging support
- /package specified more than once
- lack of MONO_SHARED_DIR

How about:
- using ?= to allow overriding macros
- dropping/replacing less used one
- converting ports that install manually to use macros
Comment 1 Marcin Cieślak 2023-08-04 13:50:08 UTC
Looks good, probably we should do similar thing with the sn (signing) tool.

Do you know what /package 1.0 /package 2.0 parameters were supposed to do?
Comment 2 Jan Beich freebsd_committer freebsd_triage 2023-08-07 16:07:04 UTC
Created attachment 243938 [details]
remove GACUTIL*

$ man gacutil
[...]
       The -package option can be used to also create a directory in in
       prefix/lib/mono with the name NAME, and a symlink is created from
       NAME/assembly_name to the assembly on the GAC.  This is used so
       developers can reference a set of libraries at once.

This bug predates USES=mono:nuget and devel/msbuild. Nothing in ports/ uses GACUTIL macros anymore.
Comment 3 Jan Beich freebsd_committer freebsd_triage 2023-08-10 11:35:11 UTC
^Triage: reset Assignee after ports c59052ead113.