From mb@levais.imp.ch  Thu Mar  1 15:51:01 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 92E8C37B719
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  1 Mar 2001 15:51:00 -0800 (PST)
	(envelope-from mb@levais.imp.ch)
Received: (from mb@localhost)
	by levais.imp.ch (8.11.1/8.11.1) id f21NpPt49829;
	Fri, 2 Mar 2001 00:51:25 +0100 (CET)
	(envelope-from mb)
Message-Id: <200103012351.f21NpPt49829@levais.imp.ch>
Date: Fri, 2 Mar 2001 00:51:25 +0100 (CET)
From: mb@imp.ch
Reply-To: mb@imp.ch
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] ports/editors/staroffice52 PR25443, PR25231, PR24049
X-Send-Pr-Version: 3.2

>Number:         25486
>Category:       ports
>Synopsis:       [PATCH] ports/editors/staroffice52 PR25443, PR25231, PR24049
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 01 16:00:01 PST 2001
>Closed-Date:    Sat May 19 05:56:23 PDT 2001
>Last-Modified:  Sat May 19 05:58:40 PDT 2001
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 
See PR25443, PR25231, PR24049

>How-To-Repeat:
 
Install SO5.2 with different $PATH where /usr/bin is before /bin
 
>Fix:
 
--- ports/editors/staroffice52/Makefile.orig    Thu Mar  1 23:50:19 2001
+++ ports/editors/staroffice52/Makefile Thu Mar  1 23:51:52 2001
@@ -46,6 +46,7 @@
 LD_PATH=       ${TMPDIR}:${WRKSRC}:${LINUXBASE}/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>

@@ -120,7 +121,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} Ignore the error-message. StarOffice5.2 has been installed ; \
@@ -149,6 +150,6 @@
            < ${INSTDB.INS}.orig > ${INSTDB.INS}
 
 install-user:
-       ${PREFIX}/office52/program/setup
+       @-SAL_IGNOREXERRORS=1 PATH=${PATH} ${LINUXBASE}/bin/sh -c ${PREFIX}/office52/program/setup
 
 .include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-ports 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Sun Apr 22 23:33:27 PDT 2001 
Responsible-Changed-Why:  

Misfiled PR> 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25486 
State-Changed-From-To: open->closed 
State-Changed-By: ijliao 
State-Changed-When: Sat May 19 05:56:23 PDT 2001 
State-Changed-Why:  
Should be fixed 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=25486 
>Unformatted:
 FreeBSD STABLE > 4.1
  
