From 69ffa6b7d98af9fe10d386a5bfd5ae3d9a0bd500 Mon Sep 17 00:00:00 2001 From: John Marino Date: Thu, 27 Mar 2014 00:29:11 +0000 Subject: www/ocaml-net: Upgrade version 3.5.1 -> 3.7.3 and stage The original PR requested to version 3.6.3, but it was straight-forward to jump to the latest version. The stage support came from the pkgsrc version. PR: ports/176062 Submitted by: maintainer (Jaap Boender) Stage support: Taken from pkgsrc --- www/ocaml-net/files/patch-Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 www/ocaml-net/files/patch-Makefile (limited to 'www/ocaml-net/files/patch-Makefile') diff --git a/www/ocaml-net/files/patch-Makefile b/www/ocaml-net/files/patch-Makefile new file mode 100644 index 000000000000..28913053ebe5 --- /dev/null +++ b/www/ocaml-net/files/patch-Makefile @@ -0,0 +1,15 @@ +$NetBSD: patch-Makefile.rules,v 1.1 2012/07/06 09:29:14 wiz Exp $ + +make package work with DESTDIR support +--- Makefile.rules.orig 2012-02-29 18:02:51.000000000 +0000 ++++ Makefile.rules +@@ -148,7 +148,8 @@ realuninstall: $(UNINSTOTHER) uninstall- + .PHONY: install-findlib + install-findlib: META + files=`$(COLLECT_FILES) *.mli *.cmi *.cma *.cmxa *.a dll* META $(INSTALL_EXTRA)` && \ +- $(OCAMLFIND) install $(PKGNAME) $$files ++ $(OCAMLFIND) install -destdir $(DESTDIR)/$(PREFIX)/lib/ocaml/site-lib \ ++ -ldconf /dev/null $(PKGNAME) $$files + + .PHONY: uninstall-findlib + uninstall-findlib: -- cgit v1.2.3