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
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