Summary: | lang/mono: version 4.4.2.11 does not compile under FreeBSD 9 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Yani Karydis <yani> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-mono (Nobody) <mono> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | CC: | joshruehlig, romain | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(mono) |
||||
Version: | Latest | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Yani Karydis
2016-08-09 14:20:09 UTC
This affects more than just you. I need this to work to include mono 4.4 in the Emby plugin for FreeNAS 9.10 The fix listed in the following stackexchange page seems to work: http://serverfault.com/questions/249411/mono-undefined-reference-to-locale-charset Changing the "#define HAVE_LOCALCHARSET_H 1" line under eglib/config.h after configure to "#undef HAVE_LOCALCHARSET_H" and resuming the build completes successfully under FreeBSD 9. (In reply to yani from comment #2) The fix you linked worked for me. As a workaround I added.. "@${REINPLACE_CMD} 's/^#define HAVE_LOCALCHARSET_H 1/#undef HAVE_LOCALCHARSET_H/' ${WRKSRC}/eglib/config.h" to the 'post-configure' task Created attachment 173743 [details]
Diff to fix the build problem on FreeBSD 9.
just a suggestion, maybe you can check the OS version and only do this on freebsd 9.X Problem reproduced, working on it. A commit references this bug: Author: romain Date: Wed Aug 17 08:23:38 UTC 2016 New revision: 420322 URL: https://svnweb.freebsd.org/changeset/ports/420322 Log: Fix build on FreeBSD 9.3 PR: 211696 Submitted by: yani@pi-greece.eu Reported by: pkg-fallout Changes: head/lang/mono/Makefile Committed, with version check. |