Bug 196871

Summary: Mk/Uses/mono.mk: modernize gac macros
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Ports FrameworkAssignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: New ---    
Severity: Affects Only Me CC: saper
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
wip (2 ports converted)
none
remove GACUTIL* none

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.