[packages/ocaml-camlp4] - unified ocaml_opt bcond name

qboosh qboosh at pld-linux.org
Sun Jul 19 08:35:05 CEST 2015


commit 93d4a435b78c910cb0baba8c7335a85df5abea30
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jul 19 08:36:21 2015 +0200

    - unified ocaml_opt bcond name

 ocaml-camlp4.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/ocaml-camlp4.spec b/ocaml-camlp4.spec
index c5391b2..b8aaf30 100644
--- a/ocaml-camlp4.spec
+++ b/ocaml-camlp4.spec
@@ -1,14 +1,14 @@
 #
 # Conditional build:
-%bcond_without	opt		# build opt
+%bcond_without	ocaml_opt	# build opt (native code)
 
 %define		main_ver	4.02
 %define		subver		6
 
 %define		doc_ver		3.06
 
-%ifarch x32
-%undefine	with_opt
+%ifnarch %{ix86} %{x8664} arm aarch64 ppc sparc sparcv9
+%undefine	with_ocaml_opt
 %endif
 
 %define		module	camlp4
@@ -92,7 +92,7 @@ cp %{SOURCE4} docs/camlp4-tutorial.ps.gz
 %build
 ./configure
 
-%{__make} -j1 %{?with_opt:all}
+%{__make} -j1 %{?with_ocaml_opt:all}
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocaml-camlp4.git/commitdiff/93d4a435b78c910cb0baba8c7335a85df5abea30



More information about the pld-cvs-commit mailing list