diff options
author | Benjamin Jacobs <freebsd@dev.thsi.be> | 2024-10-28 17:35:20 +0100 |
---|---|---|
committer | Zsolt Udvari <uzsolt@FreeBSD.org> | 2024-10-28 17:42:12 +0100 |
commit | 817c93b3c23ac256971553239cda15db151fbce2 (patch) | |
tree | 164522c09c7152975913173e67b5e8fe8cb29fea /lang/ocaml-camlidl/files | |
parent | devel/appstream{,-qt,-compose}: Update to 1.0.3 (diff) |
lang/ocaml-camlidl: Update to 1.12
Use GITHUB as MASTER_SITES.
Add do-test target.
Switch do DISTVERSION.
Changelogs: https://github.com/xavierleroy/camlidl/tags
PR: 282068
Approved by: maintainer timeout (2 weeks)
Diffstat (limited to 'lang/ocaml-camlidl/files')
-rw-r--r-- | lang/ocaml-camlidl/files/patch-compiler_Makefile | 11 | ||||
-rw-r--r-- | lang/ocaml-camlidl/files/patch-doc_Makefile | 8 | ||||
-rw-r--r-- | lang/ocaml-camlidl/files/patch-lib_Makefile | 15 | ||||
-rw-r--r-- | lang/ocaml-camlidl/files/patch-runtime_Makefile.unix | 17 |
4 files changed, 51 insertions, 0 deletions
diff --git a/lang/ocaml-camlidl/files/patch-compiler_Makefile b/lang/ocaml-camlidl/files/patch-compiler_Makefile new file mode 100644 index 000000000000..b2383ae6825e --- /dev/null +++ b/lang/ocaml-camlidl/files/patch-compiler_Makefile @@ -0,0 +1,11 @@ +--- compiler/Makefile.orig 2024-10-13 20:49:37 UTC ++++ compiler/Makefile +@@ -82,7 +82,7 @@ install: + + # Install + install: +- cp $(PROG) $(BINDIR) ++ $(BSD_INSTALL_SCRIPT) $(PROG) $(DESTDIR)$(BINDIR) + + # Clean up + clean:: diff --git a/lang/ocaml-camlidl/files/patch-doc_Makefile b/lang/ocaml-camlidl/files/patch-doc_Makefile new file mode 100644 index 000000000000..c76d62e562da --- /dev/null +++ b/lang/ocaml-camlidl/files/patch-doc_Makefile @@ -0,0 +1,8 @@ +--- doc/Makefile.orig 2024-10-13 21:03:28 UTC ++++ doc/Makefile +@@ -16,4 +16,4 @@ $(TRANSF) $(TEXQUOTE): + $(TRANSF) < manual.etex | $(TEXQUOTE) > manual.tex + + $(TRANSF) $(TEXQUOTE): +- make -C tools ++ $(MAKE) -C tools diff --git a/lang/ocaml-camlidl/files/patch-lib_Makefile b/lang/ocaml-camlidl/files/patch-lib_Makefile new file mode 100644 index 000000000000..1d69fb73c79a --- /dev/null +++ b/lang/ocaml-camlidl/files/patch-lib_Makefile @@ -0,0 +1,15 @@ +--- lib/Makefile.orig 2024-10-13 20:49:49 UTC ++++ lib/Makefile +@@ -40,10 +40,10 @@ installbyt: + $(OCAMLOPT) -a -o $(NATIVELIB) -cclib -lcamlidl $(NATIVEOBJS) + + installbyt: +- cp -p $(INTERFACES) $(BYTELIB) $(OCAMLLIB) ++ $(BSD_INSTALL_DATA) -p $(INTERFACES) $(BYTELIB) $(DESTDIR)$(OCAMLLIB) + + installopt: +- cp -p $(NATIVELIB) $(NATIVELIB:.cmxa=.$(LIBEXT)) $(OCAMLLIB) ++ $(BSD_INSTALL_DATA) $(NATIVELIB) $(NATIVELIB:.cmxa=.$(LIBEXT)) $(DESTDIR)$(OCAMLLIB) + + .SUFFIXES: .mli .ml .cmi .cmo .cmx + diff --git a/lang/ocaml-camlidl/files/patch-runtime_Makefile.unix b/lang/ocaml-camlidl/files/patch-runtime_Makefile.unix new file mode 100644 index 000000000000..429ddaaf5874 --- /dev/null +++ b/lang/ocaml-camlidl/files/patch-runtime_Makefile.unix @@ -0,0 +1,17 @@ +--- runtime/Makefile.unix.orig 2024-10-13 21:00:18 UTC ++++ runtime/Makefile.unix +@@ -26,10 +26,10 @@ install: + # $(RANLIB) $@ + + install: +- cp camlidlruntime.h $(OCAMLLIB)/caml/camlidlruntime.h +- cp libcamlidl.a $(OCAMLLIB)/libcamlidl.a +- cp dllcamlidl.so $(OCAMLLIB)/stublibs/dllcamlidl.so +- cd $(OCAMLLIB); $(RANLIB) libcamlidl.a ++ $(BSD_INSTALL_DATA) camlidlruntime.h $(DESTDIR)$(OCAMLLIB)/caml/camlidlruntime.h ++ $(BSD_INSTALL_DATA) libcamlidl.a $(DESTDIR)$(OCAMLLIB)/libcamlidl.a ++ $(BSD_INSTALL_LIB) dllcamlidl.so $(DESTDIR)$(OCAMLLIB)/stublibs/dllcamlidl.so ++ cd $(DESTDIR)$(OCAMLLIB); $(RANLIB) libcamlidl.a + + clean: + rm -f *.a *.o *.so |