--- fsmonitor/linux/Makefile.orig	2023-04-24 16:49:02 UTC
+++ fsmonitor/linux/Makefile
@@ -18,6 +18,10 @@ endif
   FSMCAMLLIBS=$(FSMOCAMLLIBS)
 endif
 
+ifeq ($(OSARCH),FreeBSD)
+  CLIBS+=-cclib -linotify
+endif
+
 buildexecutable:: $(FSMONITOR)$(EXEC_EXT)
 
 $(FSMONITOR)$(EXEC_EXT): $(FSMCAMLOBJS) $(FSMCOBJS)
