Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142683151
D23278.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D23278.id.diff
View Options
Index: head/Mk/Uses/mono.mk
===================================================================
--- head/Mk/Uses/mono.mk
+++ head/Mk/Uses/mono.mk
@@ -10,6 +10,8 @@
#
# Arguments:
#
+# build Specifies that mono is only a build-time dependency.
+#
# nuget Specifies that the port uses nuget packages.
#
# EXTRACT_ONLY is conditionally overridden to exclude all
@@ -71,8 +73,8 @@
.if !defined(_INCLUDE_USES_MONO_MK)
_INCLUDE_USES_MONO_MK= yes
-.if !empty(mono_ARGS:Nnuget)
-IGNORE= USES=mono only supports an optional nuget argument
+.if !empty(mono_ARGS:Nnuget:Nbuild)
+IGNORE= USES=mono only supports optional arguments nuget and build
.endif
# Set the location of the .wapi directory so we write to a location we
@@ -81,7 +83,9 @@
CONFIGURE_ENV+= MONO_SHARED_DIR="${MONO_SHARED_DIR}"
MAKE_ENV+= MONO_SHARED_DIR="${MONO_SHARED_DIR}" TZ=UTC
BUILD_DEPENDS+= mono:lang/mono
+.if empty(mono_ARGS:Mbuild)
RUN_DEPENDS+= mono:lang/mono
+.endif
# Set the location that webaps served by XSP should use.
XSP_DOCROOT= ${PREFIX}/www/xsp
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 23, 5:14 AM (15 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27876485
Default Alt Text
D23278.id.diff (1 KB)
Attached To
Mode
D23278: Teach mono to accept `USES= mono:build` as optional runtime dependency.
Attached
Detach File
Event Timeline
Log In to Comment