Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jul 2002 00:07:53 +0200 (CEST)
From:      Ronald Kuehn <rk@ronald.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40097: Update port: graphics/lablgl fix ld.conf handling
Message-ID:  <200207012207.g61M7rxN000622@wallace.home.ronald.org>

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

>Number:         40097
>Category:       ports
>Synopsis:       Update port: graphics/lablgl fix ld.conf handling
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 01 15:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ronald Kuehn
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD wallace.home.ronald.org 4.6-STABLE FreeBSD 4.6-STABLE #7: Sun Jun 16 17:54:43 CEST 2002 rk@merlin.home.ronald.org:/usr/build/obj/usr/src/sys/WALLACE i386


	
>Description:

In my original port submission I forgot to remove a debug-patch
that disables ld.conf handling of ocaml. This update fixes it.
Without this fix applications that use lablgl won't work correctly.

>How-To-Repeat:
	
>Fix:

First, please remove "files/patch-aa",
then apply the following patch to pkg-plist:

diff -ruN lablgl.old/pkg-plist lablgl/pkg-plist
--- lablgl.old/pkg-plist	Mon Jul  1 23:47:13 2002
+++ lablgl/pkg-plist	Mon Jul  1 23:39:35 2002
@@ -42,6 +42,8 @@
 lib/ocaml/lablGL/lablgltop
 lib/ocaml/lablGL/dlltogl.so
 lib/ocaml/lablGL/dlllablgl.so
+@exec echo "updating %D/lib/ocaml/ld.conf"; grep -sq %B %D/lib/ocaml/ld.conf || echo %B >> %D/lib/ocaml/ld.conf
+@unexec echo "updating %D/lib/ocaml/ld.conf"; grep -v %B %D/lib/ocaml/ld.conf > %D/lib/ocaml/ld.conf.new; mv %D/lib/ocaml/ld.conf.new %D/lib/ocaml/ld.conf
 lib/ocaml/lablGL/lablgl.cmxa
 lib/ocaml/lablGL/gluMat.cmx
 lib/ocaml/lablGL/gluTess.cmx

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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