freebsd-ports/net/unison251/files/patch-fsmonitor_linux_Makefile
Guido Falsi a27dcf53f6 net/unison251: Add new port to preserve current old unison version.
Preserve old unison 2.51 version as net/unison251 before updating
to the latest version.
2022-03-13 22:28:26 +01:00

20 lines
530 B
Text

--- 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)