From owner-freebsd-ports Thu Apr 25 9:10:12 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5E21A37B423 for ; Thu, 25 Apr 2002 09:10:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3PGA1407804; Thu, 25 Apr 2002 09:10:01 -0700 (PDT) (envelope-from gnats) Received: from smtp.web.de (smtp02.web.de [217.72.192.151]) by hub.freebsd.org (Postfix) with ESMTP id E3B8D37B478 for ; Thu, 25 Apr 2002 09:01:00 -0700 (PDT) Received: from [213.23.45.151] (helo=apo.hmotakef.homeip.net) by smtp.web.de with esmtp (WEB.DE(Exim) 4.50 #14) id 170lfy-0005FM-00 for FreeBSD-gnats-submit@freebsd.org; Thu, 25 Apr 2002 18:00:54 +0200 Received: by apo.hmotakef.homeip.net (Postfix, from userid 1000) id 703ED5BE; Thu, 25 Apr 2002 18:04:21 +0200 (CEST) Message-Id: <20020425160421.703ED5BE@apo.hmotakef.homeip.net> Date: Thu, 25 Apr 2002 18:04:21 +0200 (CEST) From: Henrik Motakef Reply-To: Henrik Motakef To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/37459: Patch for ocaml-pcre port (PR 37354) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 37459 >Category: ports >Synopsis: Patch for ocaml-pcre port (PR 37354) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 25 09:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Henrik Motakef >Release: FreeBSD 4.5-RELEASE-p2 i386 >Organization: >Environment: System: FreeBSD apo.hmotakef.int 4.5-RELEASE-p2 FreeBSD 4.5-RELEASE-p2 #0: Sat Apr 6 13:08:00 CEST 2002 toor@apo.hmotakef.int:/usr/obj/usr/src/sys/APO_SYSCONS i386 >Description: The port I submitted for ocaml-pcre doesn't update lib/ocaml/ld.conf properly when (de)installed as a package >How-To-Repeat: Install the port as a package, or deinstall it. >Fix: --- pkg-plist.orig Thu Apr 25 18:02:17 2002 +++ pkg-plist Thu Apr 25 17:52:09 2002 @@ -8,3 +8,5 @@ lib/ocaml/site-lib/pcre/pcre.mli lib/ocaml/site-lib/pcre/META @dirrm lib/ocaml/site-lib/pcre +@exec echo "Updating %D/lib/ocaml/ld.conf"; echo "%D/lib/ocaml/site-lib/pcre" >> %D/lib/ocaml/ld.conf +@unexec echo "Updating %D/lib/ocaml/ld.conf"; cp %D/lib/ocaml/ld.conf %D/lib/ocaml/ld.conf.tmp; grep -v "lib/ocaml/site-lib/pcre" %D/lib/ocaml/ld.conf.tmp > %D/lib/ocaml/ld.conf; rm %D/lib/ocaml/ld.conf.tmp >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message