opnsense-ports/lang/ocaml-camlidl/files/patch-runtime_Makefile.unix
Franco Fichtner 2a9ae9eae0 */*: sync with upstream
Taken from: FreeBSD
2024-11-04 08:48:13 +01:00

17 lines
647 B
Text

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