From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jan 13 14:50:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCEFE1065743 for ; Tue, 13 Jan 2009 14:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B6D068FC2B for ; Tue, 13 Jan 2009 14:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0DEo1rw000812 for ; Tue, 13 Jan 2009 14:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0DEo1VC000811; Tue, 13 Jan 2009 14:50:01 GMT (envelope-from gnats) Resent-Date: Tue, 13 Jan 2009 14:50:01 GMT Resent-Message-Id: <200901131450.n0DEo1VC000811@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jaap Boender Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0004B1065672 for ; Tue, 13 Jan 2009 14:48:40 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id C5B718FC18 for ; Tue, 13 Jan 2009 14:48:40 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n0DEmeKU053885 for ; Tue, 13 Jan 2009 14:48:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n0DEmeWI053884; Tue, 13 Jan 2009 14:48:40 GMT (envelope-from nobody) Message-Id: <200901131448.n0DEmeWI053884@www.freebsd.org> Date: Tue, 13 Jan 2009 14:48:40 GMT From: Jaap Boender To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/130507: [update] port: archivers/ocaml-zip (ocamlfind compatibility) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2009 14:50:03 -0000 >Number: 130507 >Category: ports >Synopsis: [update] port: archivers/ocaml-zip (ocamlfind compatibility) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jan 13 14:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Jaap Boender >Release: 7.1-STABLE >Organization: >Environment: FreeBSD marion-dufresne.pps.jussieu.fr 7.1-STABLE FreeBSD 7.1-STABLE #3: Sat Jan 10 15:46:24 CET 2009 root@marion-dufresne.pps.jussieu.fr:/usr/obj/usr/src/sys/MARION-DUFRESNE i386 >Description: This is a small update to the archivers/ocaml-zip port: - it installs a META file for use with ocaml-findlib (findlib is still not necessary to install or run the port, but if it is there, it will detect the port); - I've slightly changed the Makefile to install some files (zlib.cmi and zlib.mli) that are needed by www/ocsigen. >How-To-Repeat: n/a >Fix: diff added. Patch attached with submission follows: diff -ruN ocaml-zip/Makefile ocaml-zip.new/Makefile --- ocaml-zip/Makefile 2007-05-19 21:57:44.000000000 +0200 +++ ocaml-zip.new/Makefile 2009-01-13 14:57:40.000000000 +0100 @@ -8,7 +8,7 @@ PORTNAME= zip PORTVERSION= 1.03 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= archivers MASTER_SITES= http://caml.inria.fr/distrib/bazar-ocaml/ PKGNAMEPREFIX= ocaml- @@ -47,6 +47,7 @@ .endif post-install: + @${INSTALL_DATA} ${FILESDIR}/META ${OCAMLFIND_DESTDIR}/${PORTNAME} @${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \ ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} @${ECHO_CMD} "@dirrm ${OCAML_SITELIBDIR}/${PORTNAME}" >> ${TMPPLIST} diff -ruN ocaml-zip/files/META ocaml-zip.new/files/META --- ocaml-zip/files/META 1970-01-01 01:00:00.000000000 +0100 +++ ocaml-zip.new/files/META 2008-04-04 16:53:06.000000000 +0200 @@ -0,0 +1,8 @@ +name="zip" +version="1.03" +description="reading and writing ZIP, JAR and GZIP files" +requires="unix" +archive(byte)="zip.cma" +archive(native)="zip.cmxa" +linkopts = "" + diff -ruN ocaml-zip/files/patch-Makefile ocaml-zip.new/files/patch-Makefile --- ocaml-zip/files/patch-Makefile 1970-01-01 01:00:00.000000000 +0100 +++ ocaml-zip.new/files/patch-Makefile 2009-01-13 14:57:00.000000000 +0100 @@ -0,0 +1,11 @@ +--- Makefile.orig 2009-01-13 14:56:33.000000000 +0100 ++++ Makefile 2009-01-13 14:56:52.000000000 +0100 +@@ -56,7 +56,7 @@ + + install: + mkdir -p $(INSTALLDIR) +- ${BSD_INSTALL_DATA} zip.cma zip.cmi gzip.cmi zip.mli gzip.mli libcamlzip.a $(INSTALLDIR) ++ ${BSD_INSTALL_DATA} zip.cma zip.cmi gzip.cmi zip.mli gzip.mli zlib.cmi zlib.mli libcamlzip.a $(INSTALLDIR) + if test -f dllcamlzip.so; then \ + ${BSD_INSTALL_DATA} dllcamlzip.so $(INSTALLDIR); \ + installdir=$(INSTALLDIR); \ >Release-Note: >Audit-Trail: >Unformatted: