From owner-freebsd-ports Mon Jul 1 15:20:10 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A8F437B400 for ; Mon, 1 Jul 2002 15:20:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CEEA43E09 for ; Mon, 1 Jul 2002 15:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g61MK2JU046419 for ; Mon, 1 Jul 2002 15:20:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g61MK2ZY046418; Mon, 1 Jul 2002 15:20:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25C1037B400 for ; Mon, 1 Jul 2002 15:14:31 -0700 (PDT) Received: from kiste.thiemo.net (kiste.thiemo.net [193.159.181.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99DF343E13 for ; Mon, 1 Jul 2002 15:14:25 -0700 (PDT) (envelope-from rk@ronald.org) Received: (from uucp@localhost) by kiste.thiemo.net (8.9.3/8.9.3) with UUCP id AAA28003 for FreeBSD-gnats-submit@freebsd.org; Tue, 2 Jul 2002 00:14:19 +0200 (CEST) (envelope-from rk@ronald.org) Received: from wallace.home.ronald.org (rk@localhost [127.0.0.1]) by wallace.home.ronald.org (8.12.3/8.12.3) with ESMTP id g61M7sH7000623 for ; Tue, 2 Jul 2002 00:07:54 +0200 (CEST) (envelope-from rk@ronald.org) Received: (from rk@localhost) by wallace.home.ronald.org (8.12.3/8.12.3/Submit) id g61M7rxN000622; Tue, 2 Jul 2002 00:07:53 +0200 (CEST) Message-Id: <200207012207.g61M7rxN000622@wallace.home.ronald.org> Date: Tue, 2 Jul 2002 00:07:53 +0200 (CEST) From: Ronald Kuehn Reply-To: Ronald Kuehn To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/40097: Update port: graphics/lablgl fix ld.conf handling 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: 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