Date: Saturday, June 22, 2019 @ 13:33:38
  Author: juergen
Revision: 356772

Fix incorrect man-dir

Also remove unnecessary deps (suggested by dra27: 
https://github.com/ocaml/ocaml/issues/8742)

Added:
  ocaml/trunk/ocaml-4.08.0.patch
Modified:
  ocaml/trunk/PKGBUILD
Deleted:
  ocaml/trunk/ocaml-4.08.0.patch

--------------------+
 PKGBUILD           |    7 +++----
 ocaml-4.08.0.patch |   26 +++++++++++++-------------
 2 files changed, 16 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-06-22 09:52:00 UTC (rev 356771)
+++ PKGBUILD    2019-06-22 13:33:38 UTC (rev 356772)
@@ -8,8 +8,7 @@
 arch=('x86_64')
 license=('LGPL2.1' 'custom: QPL-1.0')
 url="https://caml.inria.fr/";
-depends=('gdbm')
-makedepends=('tk>=8.6.0' 'ncurses>=5.6-7')
+makedepends=('ncurses>=5.6-7')
 optdepends=('ncurses: advanced ncurses features' 'tk: advanced tk features')
 
source=(https://caml.inria.fr/distrib/ocaml-${pkgver%.*}/${pkgname}-${pkgver}.tar.xz
 ocaml-${pkgver}.patch)
 sha1sums=('7af535a715f13f666134a57c492984febd9327ba'
@@ -23,8 +22,8 @@
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure -prefix /usr -mandir '$(PREFIX)/share/man'
-  make world.opt
+  ./configure --prefix /usr --mandir /usr/share/man
+  make --debug=v world.opt
 }
 
 package_ocaml() {

Deleted: ocaml-4.08.0.patch
===================================================================
--- ocaml-4.08.0.patch  2019-06-22 09:52:00 UTC (rev 356771)
+++ ocaml-4.08.0.patch  2019-06-22 13:33:38 UTC (rev 356772)
@@ -1,13 +0,0 @@
-diff --git a/Makefile b/Makefile
-index 2a9413a97..a0f7ac4b7 100644
---- a/Makefile
-+++ b/Makefile
-@@ -1285,7 +1285,5 @@ SOURCE_FILES=$(shell git ls-files '*.ml' '*.mli' | grep 
-v boot/menhir/parser)
- 
- AST_FILES=$(addsuffix .ast,$(SOURCE_FILES))
- 
--build-all-asts: $(AST_FILES)
--
- CAMLC_DPARSETREE := \
-        $(CAMLRUN) ./ocamlc -nostdlib -nopervasives \
-          -stop-after parsing -dparsetree
\ No newline at end of file

Added: ocaml-4.08.0.patch
===================================================================
--- ocaml-4.08.0.patch                          (rev 0)
+++ ocaml-4.08.0.patch  2019-06-22 13:33:38 UTC (rev 356772)
@@ -0,0 +1,13 @@
+diff --git a/Makefile b/Makefile
+index 2a9413a97..a0f7ac4b7 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1285,7 +1285,5 @@ SOURCE_FILES=$(shell git ls-files '*.ml' '*.mli' | grep 
-v boot/menhir/parser)
+ 
+ AST_FILES=$(addsuffix .ast,$(SOURCE_FILES))
+ 
+-build-all-asts: $(AST_FILES)
+-
+ CAMLC_DPARSETREE := \
+        $(CAMLRUN) ./ocamlc -nostdlib -nopervasives \
+          -stop-after parsing -dparsetree
\ No newline at end of file

Reply via email to