From f9c9d55cb33a4d285baea05f665bdbf7536274a9 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Mon, 19 Jan 2015 15:05:34 -0500 Subject: [PATCH] ocaml: remove old versions. --- dev-lang/ocaml/ocaml-4.00.0.recipe | 90 -------------------- dev-lang/ocaml/patches/ocaml-4.00.0.patchset | 70 --------------- 2 files changed, 160 deletions(-) delete mode 100644 dev-lang/ocaml/ocaml-4.00.0.recipe delete mode 100644 dev-lang/ocaml/patches/ocaml-4.00.0.patchset diff --git a/dev-lang/ocaml/ocaml-4.00.0.recipe b/dev-lang/ocaml/ocaml-4.00.0.recipe deleted file mode 100644 index cf3f18c67..000000000 --- a/dev-lang/ocaml/ocaml-4.00.0.recipe +++ /dev/null @@ -1,90 +0,0 @@ -SUMMARY="Implementation of the Caml language" -DESCRIPTION=" -Caml is a general-purpose programming language, designed with program safety \ -and reliability in mind. It is very expressive, yet easy to learn and use. \ -Caml supports functional, imperative, and object-oriented programming styles. \ -It has been developed and distributed by INRIA, a French research institute in \ -computer science and applied mathematics, since 1985. -The OCaml system is the main implementation of the Caml language. It features \ -a powerful module system and a full-fledged object-oriented layer. It comes \ -with a native-code compiler that supports numerous architectures, for high \ -performance; a bytecode compiler, for increased portability; and an \ -interactive loop, for experimentation and rapid development. -" -LICENSE="GNU LGPL v2" -COPYRIGHT="1996-2012 Institut National de Recherche en Informatique et en Automatique (INRIA)." -HOMEPAGE="http://caml.inria.fr/index.en.html" -SRC_URI="http://caml.inria.fr/pub/distrib/ocaml-4.00/ocaml-4.00.0.tar.gz" -CHECKSUM_SHA256="9ea5544538144811b5fd9c7172d63abc0d1c6ba6b64d2c60474807fc57ad4c6e" -REVISION="1" -ARCHITECTURES="?x86 ?x86_gcc2" - -SOURCE_DIR="ocaml-4.00.0" - -PROVIDES=" - ocaml = $portVersion compat >= 4 - cmd:camlp4 = $portVersion compat >= 4 - cmd:camlp4boot = $portVersion compat >= 4 - cmd:camlp4o = $portVersion compat >= 4 - cmd:camlp4o.opt = $portVersion compat >= 4 - cmd:camlp4of = $portVersion compat >= 4 - cmd:camlp4of.opt = $portVersion compat >= 4 - cmd:camlp4oof = $portVersion compat >= 4 - cmd:camlp4oof.opt = $portVersion compat >= 4 - cmd:camlp4orf = $portVersion compat >= 4 - cmd:camlp4orf.opt = $portVersion compat >= 4 - cmd:camlp4prof = $portVersion compat >= 4 - cmd:camlp4r = $portVersion compat >= 4 - cmd:camlp4r.opt = $portVersion compat >= 4 - cmd:camlp4rf = $portVersion compat >= 4 - cmd:camlp4rf.opt = $portVersion compat >= 4 - cmd:mkcamlp4 = $portVersion compat >= 4 - cmd:ocaml = $portVersion compat >= 4 - cmd:ocamlbuild = $portVersion compat >= 4 - cmd:ocamlbuild.byte = $portVersion compat >= 4 - cmd:ocamlbuild.native = $portVersion compat >= 4 - cmd:ocamlc = $portVersion compat >= 4 - cmd:ocamlc.opt = $portVersion compat >= 4 - cmd:ocamlcp = $portVersion compat >= 4 - cmd:ocamldebug = $portVersion compat >= 4 - cmd:ocamldep = $portVersion compat >= 4 - cmd:ocamldep.opt = $portVersion compat >= 4 - cmd:ocamldoc = $portVersion compat >= 4 - cmd:ocamldoc.opt = $portVersion compat >= 4 - cmd:ocamllex = $portVersion compat >= 4 - cmd:ocamllex.opt = $portVersion compat >= 4 - cmd:ocamlmklib = $portVersion compat >= 4 - cmd:ocamlmktop = $portVersion compat >= 4 - cmd:ocamlobjinfo = $portVersion compat >= 4 - cmd:ocamlopt = $portVersion compat >= 4 - cmd:ocamlopt.opt = $portVersion compat >= 4 - cmd:ocamloptp = $portVersion compat >= 4 - cmd:ocamlprof = $portVersion compat >= 4 - cmd:ocamlrun = $portVersion compat >= 4 - cmd:ocamlyacc = $portVersion compat >= 4 - " - -REQUIRES=" - haiku - cmd:gcc - " - -BUILD_PREREQUIRES=" - haiku_devel - cmd:make - cmd:gcc - " - -PATCHES="ocaml-4.00.0.patchset" - -BUILD() -{ - ./configure --prefix $prefix \ - --mandir $manDir - make world.opt -} - -INSTALL() -{ - make install -} diff --git a/dev-lang/ocaml/patches/ocaml-4.00.0.patchset b/dev-lang/ocaml/patches/ocaml-4.00.0.patchset deleted file mode 100644 index 785fb0f4c..000000000 --- a/dev-lang/ocaml/patches/ocaml-4.00.0.patchset +++ /dev/null @@ -1,70 +0,0 @@ -From 392fc2240718d68c1e0ce62cc11c1e894ba2cd95 Mon Sep 17 00:00:00 2001 -From: Chris Roberts -Date: Wed, 30 Oct 2013 21:35:40 -0600 -Subject: import old patch - - -diff --git a/configure b/configure -index e08bbce..a39e9e4 100755 ---- a/configure -+++ b/configure -@@ -285,6 +285,10 @@ case "$bytecc,$host" in - bytecccompopts="-fno-defer-pop $gcc_warnings" - # No -lm library - mathlib="";; -+ *,*-*-haiku*) -+ bytecccompopts="-fno-defer-pop $gcc_warnings" -+ # No -lm library -+ mathlib="";; - gcc,alpha*-*-osf*) - bytecccompopts="-fno-defer-pop $gcc_warnings" - if cc="$bytecc" sh ./hasgot -mieee; then -@@ -614,6 +618,9 @@ if test $withsharedlibs = "yes"; then - byteccrpath="-Wl,-rpath," - mksharedlibrpath="-Wl,-rpath," - shared_libraries_supported=true;; -+ *-*haiku*) -+ mksharedlib="$bytecc -shared" -+ shared_libraries_supported=true;; - esac - fi - -@@ -679,6 +686,7 @@ case "$host" in - arch=i386; system=solaris - fi;; - i[3456]86-*-beos*) arch=i386; system=beos;; -+ i[3456]86-*-haiku*) arch=i386; system=beos;; - i[3456]86-*-cygwin*) arch=i386; system=cygwin;; - i[3456]86-*-darwin*) if $arch64; then - arch=amd64; system=macosx -@@ -901,6 +909,11 @@ elif sh ./hasgot -lnsl -lsocket socket socketpair bind listen accept connect; th - cclibs="$cclibs -lnsl -lsocket" - echo "#define HAS_SOCKETS" >> s.h - has_sockets=yes -+elif sh ./hasgot -lnetwork socket socketpair bind listen accept connect; then -+ echo "You have BSD sockets (with libraries '-lnetwork')" -+ cclibs="$cclibs -lnetwork" -+ echo "#define HAS_SOCKETS" >> s.h -+ has_sockets=yes - fi - - if sh ./hasgot -i sys/socket.h -t socklen_t; then -diff --git a/otherlibs/unix/nice.c b/otherlibs/unix/nice.c -index 400543c..94aa025 100644 ---- a/otherlibs/unix/nice.c -+++ b/otherlibs/unix/nice.c -@@ -24,7 +24,11 @@ CAMLprim value unix_nice(value incr) - { - int ret; - errno = 0; -+#ifdef __HAIKU__ -+ ret = 0; -+#else - ret = nice(Int_val(incr)); -+#endif - if (ret == -1 && errno != 0) uerror("nice", Nothing); - return Val_int(ret); - } --- -1.8.3.4 -