Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2002 14:40:05 -0700 (PDT)
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        gnome@FreeBSD.org
Subject:   Re: ports/42096: scrollkeeper port fails install because of find -L
Message-ID:  <200208272140.g7RLe5ZQ002743@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/42096; it has been noted by GNATS.

From: Joe Marcus Clarke <marcus@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, freebsd@nterprise.net
Cc:  
Subject: Re: ports/42096: scrollkeeper port fails install because of find -L
Date: 27 Aug 2002 17:34:41 -0400

 Can you test the attached patch to pkg-install, and let me know if it
 works for you?  Thanks.
 
 Index: pkg-install
 ===================================================================
 RCS file: /home/ncvs/ports/textproc/scrollkeeper/pkg-install,v
 retrieving revision 1.2
 diff -u -r1.2 pkg-install
 --- pkg-install	1 Jul 2002 04:51:13 -0000	1.2
 +++ pkg-install	27 Aug 2002 21:31:49 -0000
 @@ -47,7 +47,7 @@
  #
  # find the prefix for DocBook DTD
  #
 -found=`find -L ${PREFIX} -name docbookx.dtd 2> /dev/null`
 +found=`find ${PREFIX}/ -name docbookx.dtd 2> /dev/null`
  if [ "$found" = "" ] ; then
      echo could not locate docbookx.dtd for DocBook XML
      exit 1
 @@ -119,7 +119,7 @@
  #
  top=`dirname $docbookdir`
  found=`find $top -iname "iso*amsb.ent" 2> /dev/null`
 -found=`find -L ${PREFIX} -iname "iso*amsb.ent" 2> /dev/null`
 +found=`find ${PREFIX}/ -iname "iso*amsb.ent" 2> /dev/null`
  if [ "$found" = "" ] ; then
      echo could not locate iso-amsb.ent of ISO DocBook entities
      exit 1
 @@ -208,7 +208,7 @@
  #
  top=`dirname $docbookdir`
  found=`find $top -name chunk.xsl 2> /dev/null`
 -found=`find -L ${PREFIX} -name chunk.xsl 2> /dev/null`
 +found=`find ${PREFIX} -name chunk.xsl 2> /dev/null`
  if [ "$found" = "" ] ; then
      echo could not locate chunk-common.xsl of DocBook XSLT stylesheets
      exit 1
 
 

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




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