From mb@levais.imp.ch  Thu Mar  1 15:47:46 2001
Return-Path: <mb@levais.imp.ch>
Received: from levais.imp.ch (levais.imp.ch [157.161.4.66])
	by hub.freebsd.org (Postfix) with ESMTP id 5D86E37B719
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  1 Mar 2001 15:47:45 -0800 (PST)
	(envelope-from mb@levais.imp.ch)
Received: (from mb@localhost)
	by levais.imp.ch (8.11.1/8.11.1) id f21Nm9E49600;
	Fri, 2 Mar 2001 00:48:09 +0100 (CET)
	(envelope-from mb)
Message-Id: <200103012348.f21Nm9E49600@levais.imp.ch>
Date: Fri, 2 Mar 2001 00:48:09 +0100 (CET)
From: mb@imp.ch
Reply-To: mb@imp.ch
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] ports/french/staroffice52 PR25443, PR25231, PR24049
X-Send-Pr-Version: 3.2

>Number:         25485
>Category:       ports
>Synopsis:       ldconfig error during Staroffice Installation
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 01 15:50:01 PST 2001
>Closed-Date:    Thu Mar 1 16:27:42 PST 2001
>Last-Modified:  Thu Mar 01 16:28:12 PST 2001
>Originator:     Martin Blapp
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
Improware AG
>Environment:
 
FreeBSD STABLE > 4.1
 
>Description:
 
See PR25443, PR25231, PR24049
 
>How-To-Repeat:
 
Install SO5.2 with different $PATH where /usr/bin is before /bin.

>Fix:
 
--- ports/french/staroffice52/Makefile.orig     Thu Mar  1 23:56:59 2001
+++ ports/french/staroffice52/Makefile  Thu Mar  1 23:57:03 2001
@@ -38,6 +38,7 @@
 LD_PATH=       ${TMPDIR}:${WRKSRC}:${LINUXBASE}/linux/lib:${LINUXBASE}/usr/lib
 INSTDB.INS=    ${PREFIX}/office52/program/instdb.ins
 SUNSOLVE=      ${WRKDIR}/109939-02
+PATH=          "/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin"
 
 .include <bsd.port.pre.mk>
 
@@ -115,7 +116,7 @@
        @${LN} -fs ${LINUXBASE}/${PREFIX}/office52 ${PREFIX}/office52
 .endif
        @${CAT} ${PKGMESSAGE}
-       @-SAL_IGNOREXERRORS=1 TEMP=${TMPDIR} LD_LIBRARY_PATH=${LD_PATH} ${LINUXBASE}/bin/sh -c '${WRKSRC}/setup /net'
+       @-SAL_IGNOREXERRORS=1 PATH=${PATH} TEMP=${TMPDIR} LD_LIBRARY_PATH=${LD_PATH} ${LINUXBASE}/bin/sh -c '${WRKSRC}/setup /net'
        @if [ -f ${PREFIX}/office52/program/setup ]; then \
                ${ECHO} ; \
                ${ECHO} Ignorez le message d\'erreur. StarOffice5.2 a correctement ; \
@@ -144,6 +145,6 @@
     
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jhb 
State-Changed-When: Thu Mar 1 16:27:42 PST 2001 
State-Changed-Why:  
Should be fixed.  Closed at port maintainers request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25485 
>Unformatted:
