Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2004 23:13:10 +0100 (CET)
From:      Stephane Legrand <stephane@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61910: [maintainer update] Unbreak textproc/ocaml-pxp build on bento
Message-ID:  <200401252213.i0PMDAch001995@sequoia.mondomaineamoi.megalo>
Resent-Message-ID: <200401252220.i0PMKJKv085390@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61910
>Category:       ports
>Synopsis:       [maintainer update] Unbreak textproc/ocaml-pxp build on bento
>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:   Sun Jan 25 14:20:18 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Stephane Legrand <stephane@freebsd.org>
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
  System: FreeBSD 4.9-STABLE
>Description:
  Please note that the enclosed patch concerns the devel/ocaml-pcre
  port. Nevertheless, the aim is to unbreak textproc/ocaml-pxp.

  bento has discovered that if devel/ocaml-pcre is installed as a
  package, textproc/ocaml-pxp can't be built. Actually, the
  devel/ocaml-pcre port modify a file named /usr/local/lib/ocaml/ld.conf
  to add the directory /usr/local/lib/ocaml/site-lib/pcre/.
  Unfortunately, the devel/ocaml-pcre _package_ doesn't make this
  change.
   
>How-To-Repeat:
  Install the devel/ocaml-pcre package and try to build the
  textproc/ocaml-pxp port.
  
>Fix:
  Add the line /usr/local/lib/ocaml/site-lib/pcre/ to
  /usr/local/lib/ocaml/ld.conf even if devel/ocaml-pcre is installed
  as a package.

diff -ruN ocaml-pcre_ORIG01/pkg-plist ocaml-pcre/pkg-plist
--- ocaml-pcre_ORIG01/pkg-plist	Sun Jan 25 22:34:08 2004
+++ ocaml-pcre/pkg-plist	Sun Jan 25 21:47:39 2004
@@ -7,4 +7,5 @@
 lib/ocaml/site-lib/pcre/pcre.cmi
 lib/ocaml/site-lib/pcre/pcre.mli
 @dirrm lib/ocaml/site-lib/pcre
+@exec echo "Updating %D/lib/ocaml/ld.conf"; if (! grep -q "lib/ocaml/site-lib/pcre" %D/lib/ocaml/ld.conf); then echo "%D/lib/ocaml/site-lib/pcre" >> %D/lib/ocaml/ld.conf; fi;
 @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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401252213.i0PMDAch001995>