mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
- Some cosmetic changes to the Makefile - DOCS option now has TeX as a build dependencies, so users wanting to avoid heavy dependencies should disable it - Port now installs a man page
21 lines
1 KiB
Text
21 lines
1 KiB
Text
--- Makefile.OCaml.orig 2024-02-18 15:03:04 UTC
|
|
+++ Makefile.OCaml
|
|
@@ -336,15 +336,9 @@ ifneq ($(findstring $(OSARCH),FreeBSD OpenBSD NetBSD D
|
|
ifneq ($(findstring $(OSARCH),FreeBSD OpenBSD NetBSD DragonFly),)
|
|
LIBINOTIFY_LIB:=-cclib '$(shell pkg-config --libs libinotify 2> /dev/null || printf ' -linotify')'
|
|
LIBINOTIFY_INC:=-ccopt '$(shell pkg-config --cflags libinotify 2> /dev/null)'
|
|
- FOUND_LIBINOTIFY := $(shell { printf '' > inotifytest__.ml ;\
|
|
- $(CAMLC) $(CAMLCFLAGS) $(CAMLLDFLAGS) $(LIBINOTIFY_LIB) \
|
|
- -o inotifytest__ inotifytest__.ml > /dev/null 2>&1 && printf true ; } ;\
|
|
- rm -f inotifytest__.ml inotifytest__.cm[oix] inotifytest__.o inotifytest__ > /dev/null 2>&1)
|
|
- ifeq ($(FOUND_LIBINOTIFY), true)
|
|
- FSMDIR = fsmonitor/inotify
|
|
- $(NAME_FSM)$(EXEC_EXT): CAMLCFLAGS += $(LIBINOTIFY_INC)
|
|
- $(NAME_FSM)$(EXEC_EXT): CLIBS += $(LIBINOTIFY_LIB)
|
|
- endif
|
|
+ FSMDIR = fsmonitor/inotify
|
|
+ $(NAME_FSM)$(EXEC_EXT): CAMLCFLAGS += $(LIBINOTIFY_INC)
|
|
+ $(NAME_FSM)$(EXEC_EXT): CLIBS += $(LIBINOTIFY_LIB)
|
|
endif
|
|
|
|
ifeq ($(OSARCH),SunOS)
|