Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-misc/unison: fix parallel build bug.
Reference: bcpierce00/unison#100 Credit: Robert Forsman, Coacher, José María Fernández González Credit: Frank Steinmetzger, WGH Closes: https://bugs.gentoo.org/582666 Package-Manager: Portage-2.3.3, Repoman-2.3.1
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Makefile.OCaml: fswatch.cmi depends on ubase/prefs.cmi. | ||
|
||
The dependency is needed to compile unison | ||
in parallel. | ||
|
||
Reference: https://github.com/bcpierce00/unison/pull/100 | ||
|
||
diff --git a/Makefile.OCaml b/Makefile.OCaml | ||
index 21610ce..84fe7ad 100644 | ||
--- a/Makefile.OCaml | ||
+++ b/Makefile.OCaml | ||
@@ -426,6 +426,8 @@ win32rc/unison.res.lib: win32rc/unison.res | ||
@echo "$(CAMLC): $< ---> $@" | ||
$(CAMLC) $(CAMLFLAGS) -c $(CWD)/$< | ||
|
||
+fswatch.cmi : ubase/prefs.cmi | ||
+ | ||
%.cmo: %.ml | ||
@echo "$(OCAMLC): $< ---> $@" | ||
$(OCAMLC) $(CAMLFLAGS) -c $(CWD)/$< |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters