[packages/ocaml-idl] - fixed no-opt patch - rel 10
baggins
baggins at pld-linux.org
Mon Apr 6 13:55:43 CEST 2015
commit e1dabfa92816b6d3fe281f470fc43b3b1a66185a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Apr 6 13:55:25 2015 +0200
- fixed no-opt patch
- rel 10
no-opt.patch | 4 ++--
ocaml-idl.spec | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/ocaml-idl.spec b/ocaml-idl.spec
index 59262e2..dd19675 100644
--- a/ocaml-idl.spec
+++ b/ocaml-idl.spec
@@ -12,7 +12,7 @@ Summary: CamlIDL is a stub code generator and COM binding for Objective Caml
Summary(pl.UTF-8): Wiązania IDL dla OCamla
Name: ocaml-idl
Version: 1.05
-Release: 9
+Release: 10
License: QPL v1.0 (compiler), LGPL v2 (library)
Group: Libraries
Source0: http://caml.inria.fr/distrib/bazar-ocaml/camlidl-%{version}.tar.gz
diff --git a/no-opt.patch b/no-opt.patch
index d8d68cd..16ddf79 100644
--- a/no-opt.patch
+++ b/no-opt.patch
@@ -6,13 +6,13 @@
-install:
- cp $(INTERFACES) $(BYTELIB) $(NATIVELIB) $(NATIVELIB:.cmxa=.$(LIBEXT)) $(OCAMLLIB)
-+install: install-byte $(NATIVELIB:install-opt)
++install: install-byte $(if $(NATIVELIB),install-opt)
+
+install-byte:
+ cp $(INTERFACES) $(BYTELIB) $(OCAMLLIB)
+
+install-opt:
-+ cp $(NATIVELIB) $(NATIVELIB:.cmxa=.$(LIBEXT))
++ cp $(NATIVELIB) $(NATIVELIB:.cmxa=.$(LIBEXT)) $(OCAMLLIB)
cd $(OCAMLLIB); $(RANLIB) $(NATIVELIB:.cmxa=.$(LIBEXT))
.SUFFIXES: .mli .ml .cmi .cmo .cmx
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ocaml-idl.git/commitdiff/e1dabfa92816b6d3fe281f470fc43b3b1a66185a
More information about the pld-cvs-commit
mailing list