summaryrefslogtreecommitdiff
path: root/net/unison248/files/patch-fsmonitor_linux_Makefile
blob: 820041472d23056bbe08b175f215ccd9b1a79d97 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- fsmonitor/linux/Makefile.orig	2017-03-23 16:47:46 UTC
+++ fsmonitor/linux/Makefile
@@ -18,6 +18,10 @@ else
   FSMCAMLLIBS=$(FSMOCAMLLIBS)
 endif
 
+ifeq ($(OSARCH),FreeBSD)
+  CLIBS+=-cclib -linotify
+endif
+
 buildexecutable:: $(FSMONITOR)$(EXEC_EXT)
 
 $(FSMONITOR)$(EXEC_EXT): $(FSMCAMLOBJS) $(FSMCOBJS)
@@ -26,4 +30,4 @@ $(FSMONITOR)$(EXEC_EXT): $(FSMCAMLOBJS) $(FSMCOBJS)
 
 clean::
 	rm -f $(DIR)/*.cm[iox] $(DIR)/*.o $(DIR)/*~
-	rm -f $(FSMONITOR)$(EXEC_EXT)
\ No newline at end of file
+	rm -f $(FSMONITOR)$(EXEC_EXT)