From owner-freebsd-stable Tue Apr 25 23:43:22 2000 Delivered-To: freebsd-stable@freebsd.org Received: from tisch.mail.mindspring.net (tisch.mail.mindspring.net [207.69.200.157]) by hub.freebsd.org (Postfix) with ESMTP id 05ED337BB00 for ; Tue, 25 Apr 2000 23:43:20 -0700 (PDT) (envelope-from asami@cs.berkeley.edu) Received: from silvia.hip.berkeley.edu (sji-ca44-15.ix.netcom.com [209.111.212.143]) by tisch.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id CAA22380; Wed, 26 Apr 2000 02:42:44 -0400 (EDT) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.9.3/8.6.9) id XAA03472; Tue, 25 Apr 2000 23:42:04 -0700 (PDT) To: Marcel Moolenaar Cc: Martin Blapp , freebsd-stable@FreeBSD.ORG, dillon@apollo.backplane.com Subject: Re: Linux emulation scripting fix to be committed to 5.x and 4.x wednesday References: <3905CD4A.1C0AB01C@cup.hp.com> From: asami@FreeBSD.ORG (Satoshi - Ports Wraith - Asami) Date: 25 Apr 2000 23:41:59 -0700 In-Reply-To: Marcel Moolenaar's message of "Tue, 25 Apr 2000 09:52:26 -0700" Message-ID: Lines: 32 X-Mailer: Gnus v5.7/Emacs 20.6 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * From: Marcel Moolenaar * Set LD_LIBRARY_PATH=. before installing. Wonderful. I got the installation to work with that. Thanks! I had to change the "soffice" script a bit (since this is run straight from our shell, it's treated as a FreeBSD script) and it's running fine now on my 3.4-stable machine. I haven't tested it much but if someone wants to try, the (absolutely no warranty) patch is in: http://people.FreeBSD.org/~asami/linux-script-01.diff Satoshi ------- --- ./soffice.org Mon Feb 21 21:20:00 2000 +++ ./soffice Tue Apr 25 12:04:51 2000 @@ -17,12 +17,12 @@ # resolve installation directory sd_platform=`uname -s` case $sd_platform in - SCO_SV) test=/bin/test ;; + SCO_SV|FreeBSD) test=/bin/test ;; *) test=/usr/bin/test ;; esac sd_cwd="`pwd`" -if $test -L "$0" ; then +if $test -h "$0" ; then sd_basename=`basename $0` sd_script=`ls -l $0 | sed "s/.*${sd_basename} -> //g"` else To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message