1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/lang/mono
Jeremy Messenger 635649a373 [...Took from jylefort's comment in email with a bit tweak...]
Mono will using Gamin or FAM by default if it exists in the runtime. If either
doesn't exist then it will use KeventWatcher.cs. Add auto-check on Gamin and
FAM for dependency. Bump the PORTREVISION to have the fix of kqueue.

Rationale:

	- KeventWatcher.cs is naive, it does not report changes made to
	  files within a monitored directory [1]
	- KeventWatcher.cs is implemented in C#, it is therefore slower than
	  Gamin or FAM, which are implemented in C and C++, respectively

[1] this is a bug which should be reported to the vendor

Testing, using the attached WatchTest.cs:

  With KeventWatcher.cs:

	$ mono WatchTest.exe /somedir &
	[1] 89857
	$ touch /somedir/foo
	OnCreatedEvent /somedir/foo
	$ echo foo >> /somedir/foo
	<nothing happens>

  With Gamin:

	$ mono WatchTest.exe /somedir &
	[1] 89889
	$ touch /somedir/foo
	OnCreatedEvent /somedir/foo
	$ echo foo >> /somedir/foo
	OnChangedEvent /somedir/foo

Submitted by:	jylefort
2005-06-01 06:53:26 +00:00
..
files [...Took from jylefort's comment in email with a bit tweak...] 2005-06-01 06:53:26 +00:00
distinfo Update to 1.1.7, Bill Middleton has been working against the Mono SVN to fix 2005-05-16 06:32:36 +00:00
Makefile [...Took from jylefort's comment in email with a bit tweak...] 2005-06-01 06:53:26 +00:00
pkg-descr Update to 1.1.7, Bill Middleton has been working against the Mono SVN to fix 2005-05-16 06:32:36 +00:00
pkg-plist Update to 1.1.7, Bill Middleton has been working against the Mono SVN to fix 2005-05-16 06:32:36 +00:00