From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 27 12:00:44 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB75116A4D2 for ; Wed, 27 Oct 2004 12:00:43 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD77E43D4C for ; Wed, 27 Oct 2004 12:00:43 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i9RC0gQi040976 for ; Wed, 27 Oct 2004 12:00:42 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9RC0gQj040961; Wed, 27 Oct 2004 12:00:42 GMT (envelope-from gnats) Resent-Date: Wed, 27 Oct 2004 12:00:42 GMT Resent-Message-Id: <200410271200.i9RC0gQj040961@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, Stephane Legrand Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1840716A4CE for ; Wed, 27 Oct 2004 11:52:20 +0000 (GMT) Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12E0A43D39 for ; Wed, 27 Oct 2004 11:52:19 +0000 (GMT) (envelope-from stephane@freebsd-fr.org) Received: from sequoia.mondomaineamoi.megalo (lns-vlq-17f-81-56-170-180.adsl.proxad.net [81.56.170.180]) by postfix4-2.free.fr (Postfix) with ESMTP id F31AB235899 for ; Wed, 27 Oct 2004 13:52:17 +0200 (CEST) Received: from sequoia.mondomaineamoi.megalo (localhost.mondomaineamoi.megalo [127.0.0.1])i9RBqFql034701 for ; Wed, 27 Oct 2004 13:52:16 +0200 (CEST) (envelope-from stephane@sequoia.mondomaineamoi.megalo) Received: (from stephane@localhost)i9RBqFwE034700; Wed, 27 Oct 2004 13:52:15 +0200 (CEST) (envelope-from stephane) Message-Id: <200410271152.i9RBqFwE034700@sequoia.mondomaineamoi.megalo> Date: Wed, 27 Oct 2004 13:52:15 +0200 (CEST) From: Stephane Legrand To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/73194: [maintainer-update] Fix package installation for www/ocaml-net port X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Stephane Legrand List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2004 12:00:44 -0000 >Number: 73194 >Category: ports >Synopsis: [maintainer-update] Fix package installation for www/ocaml-net port >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Oct 27 12:00:42 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Stephane Legrand >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: FreeBSD 5.3-STABLE i386 >Description: When ocaml-net is installed via its package, the file used by OCaml to know where shared libraries are kept is not updated. This is a mistake and this patch fixes this problem. This should also fix the build of textproc/ocaml-pxp as this port depends on www/ocaml-net. Please note that this patch adds two new files: pkg-install and pkg-deinstall >How-To-Repeat: >Fix: diff -ruN ocaml-net-098-2/pkg-deinstall ocaml-net/pkg-deinstall --- ocaml-net-098-2/pkg-deinstall Thu Jan 1 01:00:00 1970 +++ ocaml-net/pkg-deinstall Mon Oct 25 15:39:34 2004 @@ -0,0 +1,5 @@ +#!/bin/sh + +mv ${PKG_PREFIX}/lib/ocaml/ld.conf ${PKG_PREFIX}/lib/ocaml/ld.conf.tmp +grep -v netstring ${PKG_PREFIX}/lib/ocaml/ld.conf.tmp > ${PKG_PREFIX}/lib/ocaml/ld.conf +rm -f ${PKG_PREFIX}/lib/ocaml/ld.conf.tmp diff -ruN ocaml-net-098-2/pkg-install ocaml-net/pkg-install --- ocaml-net-098-2/pkg-install Thu Jan 1 01:00:00 1970 +++ ocaml-net/pkg-install Mon Oct 25 15:38:40 2004 @@ -0,0 +1,5 @@ +#!/bin/sh + +if ! grep "${PKG_PREFIX}/lib/ocaml/site-lib/netstring" ${PKG_PREFIX}/lib/ocaml/ld.conf >/dev/null 2>&1; then + echo "${PKG_PREFIX}/lib/ocaml/site-lib/netstring" >> ${PKG_PREFIX}/lib/ocaml/ld.conf +fi >Release-Note: >Audit-Trail: >Unformatted: