lang/mono and x11-toolkits/gtk-sharp assume that libraries exist in certain places, when in fact they most often don't. One of these is that libintl is a part of libc.so as it is on Linux, which of course is *NOT* the case on FreeBSD (or NetBSD for that matter; see http://bugzilla.ximian.com/show_bug.cgi?id=60785 ). gtk-sharp installs a DLL config file into the GAC which assumes that libgtkhtml-3.1.so.7 exists, when it does not on at least my experimental GNOME desktop. Fix: Change lang/mono/files/patch-configure to map INTL to libintl.so instead of libc.so , change the relevant GAC DLL config file (gtkhtml-sharp.dll.config) to not reference a .so file with a version. It would also be wise to check other DLL config files. How-To-Repeat: Install mono & gtk-sharp, and then try to build and run something like BLAM!: http://www.gnomefiles.org/app.php?soft_id=328 . Note the failures.
Here's patches for each issue. Note that Tom McLaughlin provided the gtk-sharp DLL mapping patch (i.e., he did most of the work :-). -- I abhor a system designed for the "user", if that word is a coded pejorative meaning "stupid and unsophisticated". -- Ken Thompson - Unix is user friendly. However, it isn't idiot friendly.
Dear maintainer of FreeBSD port x11-toolkits/gtk-sharp, please take a look at patches at http://www.freebsd.org/cgi/query-pr.cgi?q=70318 Do you approve? -- Pav Lucistnik <pav@oook.cz> <pav@FreeBSD.org> Adding horrible bugs to the source is a venal sin.
State Changed From-To: open->feedback Forced submitter to send patches and asked maintainer for approval.
Responsible Changed From-To: freebsd-ports-bugs->pav My soup.
State Changed From-To: feedback->closed Committed, thanks!