Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 2020 23:20:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        mono@FreeBSD.org
Subject:   [Bug 238089] lang/mono: Update to 5.20 (5.10.0 dates to 2018-02)
Message-ID:  <bug-238089-23699-7RV8MfYXRe@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238089-23699@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238089-23699@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238089

--- Comment #78 from Alex Levy <a13xlevy@gmail.com> ---
(In reply to Mark Linimon from comment #77)
I gave a try to reformat to be as close as the original Makefile but my
Makefile is drastically different than the original one as it's based on
pulling the sources from github and the buid process is different.

Also order of things in the original Makefile doesn't follow the porter's
handbook recommendation (section 15), not sure if it's a blocker but portli=
nt
complains about it so I ordered my Makefile accordingly.

I don't think we can easily compare the 2 Makefiles with a diff even if I
change indentation and order of things. I can instead explain the differenc=
es
here if it helps (in order of appearance in the original Makefile) :

- I removed ONLY_FOR_ARCHS as I cannot say for sure that it builds on these
platforms.

- The dependencies are almost the same except there is no need for run
dependency on PY_PILLOW and no dependency at all on Perl.

- No need for a MONOLITE option (${GMAKE} get-monolite-latest in pre-build
covers it).

- I removed the X11 option as configure script doesn't seem to expose any
related parameters.

- I added DTRACE and BTLS options but they were not required per-se. The
original Makefile was configuring with --enable-btls and --disable-dtrace
hardcoded.

- GNU_CONFIGURE, LD_CONFIG are same

- SHEBANG_FILES differs because paths of scripts are different

- USE_PERL5, BINARY_ALIAS, MAKE_ENV, TEST_* and PORTSCOUT (should I keep th=
is
one?) are gone.=20

- No need for the conditional on ${LOCALBASE}/bin/mcs.

- I added a pre-build that fetches monolite as instructed in
https://www.mono-project.com/docs/compiling-mono/compiling-from-git/

- There is no post-patch, no post-configure and no post-extract*=20

- post-install is the same, I just strip libmono-btls-shared.so as
INSTALL_TARGET=3Dinstall-strip didn't do the trick for this one.

Hope that it helps.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238089-23699-7RV8MfYXRe>