Index: port-modules.5
===================================================================
RCS file: /cvs/src/share/man/man5/port-modules.5,v
retrieving revision 1.232
diff -u -p -r1.232 port-modules.5
--- port-modules.5 3 Jun 2018 10:25:10 -0000 1.232
+++ port-modules.5 17 Aug 2018 03:07:00 -0000
@@ -1155,26 +1155,6 @@ is appended to
.Ev BUILD_DEPENDS
and
.Ev RUN_DEPENDS .
-If
-.Ev MODMONO_NANT
-is set to Yes,
-.Ev NANT
-and
-.Ev NANT_FLAGS
-are set,
-.Pa devel/nant
-is appended to
-.Ev BUILD_DEPENDS
-and a
-.Cm do-build
-and
-.Cm do-install
-targets are provided to use nant for building.
-If these targets are already defined, one can use
-.Ev MODMONO_BUILD_TARGET
-and
-.Ev MODMONO_INSTALL_TARGET
-instead in the corresponding target.
.Ev DLLMAP_FILES
defines in which files the module will substitute hardcoded
shared library versions using a
Index: mono.port.mk
===================================================================
RCS file: /cvs/ports/lang/mono/mono.port.mk,v
retrieving revision 1.23
diff -u -p -r1.23 mono.port.mk
--- mono.port.mk 3 Oct 2015 11:53:44 -0000 1.23
+++ mono.port.mk 17 Aug 2018 03:08:19 -0000
@@ -24,28 +24,6 @@ RUN_DEPENDS+= ${MODMONO_RUN_DEPENDS}
# version from library names.
DLLMAP_FILES?=
-.if defined(MODMONO_NANT) && ${MODMONO_NANT:L} == "yes"
-NANT?= nant
-NANT_FLAGS?=
-
-BUILD_DEPENDS+= devel/nant
-
-MODMONO_BUILD_TARGET= cd ${WRKSRC} && ${MAKE_FLAGS} ${NANT} ${NANT_FLAGS}
-MODMONO_INSTALL_TARGET= cd ${WRKSRC} && ${MAKE_FLAGS} ${NANT} ${NANT_FLAGS} \
- -D:prefix="${PREFIX}" install
-
-. if !target(do-build)
-do-build:
- @${MODMONO_BUILD_TARGET}
-. endif
-
-. if !target(do-install)
-do-install:
- @${MODMONO_INSTALL_TARGET}
-. endif
-
-.endif
-
.if ${MODMONO_GMCS_COMPAT:L} != "no"
pre-extract:
@ln -fs ${LOCALBASE}/bin/mcs ${WRKDIR}/bin/gmcs
Hi ports --
Looking for mono gurus here. I am trying to port something written in C#
that is supported by mono. According to the port-modules manual page,
MODULES=lang/mono has a variable called MODMONO_NANT, which adds
devel/nant to the BUILD_DEPENDS. Problem is, there is no devel/nant in
the ports tree any more, which pkg_add confirms with "Obsolete package:
nant (outdated and/or no longer required by other ports)."
Attached are some diffs to get rid of those tendrils. Hopefully some of
the mono people can double check this and make sure there aren't other
references to nant.
~Brian
No comments:
Post a Comment