Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37714605
en ru br
ALT Linux repositórios
S:1.11-alt1
D:1.03-alt1
5.0: 1.03-alt1

Group :: Desenvolvimento/ML
RPM: ocaml-zip

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: ocaml-zip-alt-fix-make.patch
Download


diff -u camlzip-1.04/Makefile camlzip-1.04.new/Makefile
--- camlzip-1.04/Makefile	2011-12-26 16:25:18.000000000 +0400
+++ camlzip-1.04.new/Makefile	2011-12-26 16:28:38.292336193 +0400
@@ -3,11 +3,8 @@
 # The name of the Zlib library.  Usually -lz
 ZLIB_LIB=-lz
 
-# The directory containing the Zlib library (libz.a or libz.so)
-ZLIB_LIBDIR=/usr/local/lib
-
 # The directory containing the Zlib header file (zlib.h)
-ZLIB_INCLUDE=/usr/local/include
+ZLIB_INCLUDE=/usr/include
 
 # Where to install the library.  By default: sub-directory 'zip' of
 # OCaml's standard library directory.
@@ -29,15 +26,15 @@
 
 zip.cma: $(OBJS)
 	$(OCAMLMKLIB) -o zip -oc camlzip $(OBJS) \
-            -L$(ZLIB_LIBDIR) $(ZLIB_LIB)
+            $(ZLIB_LIB)
 
 zip.cmxa: $(OBJS:.cmo=.cmx)
 	$(OCAMLMKLIB) -o zip -oc camlzip $(OBJS:.cmo=.cmx) \
-            -L$(ZLIB_LIBDIR) $(ZLIB_LIB)
+            $(ZLIB_LIB)
 
 libcamlzip.a: $(C_OBJS)
 	$(OCAMLMKLIB) -oc camlzip $(C_OBJS) \
-            -L$(ZLIB_LIBDIR) $(ZLIB_LIB)
+            $(ZLIB_LIB)
 
 .SUFFIXES: .mli .ml .cmo .cmi .cmx
 
Общие подкаталоги: camlzip-1.04/test и camlzip-1.04.new/test
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009