Date: Sat, 26 Apr 2003 07:18:33 +0000 From: "Martyn J.Pearce" <fluffy@sixears.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/51429: [PATCH] scrollkeeper will not build if /usr/local/share is symlinked Message-ID: <E199JxB-0006bq-55@chrome.ninja.co.uk> Resent-Message-ID: <200304260720.h3Q7KGOP087760@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 51429 >Category: ports >Synopsis: [PATCH] scrollkeeper will not build if /usr/local/share is symlinked >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Apr 26 00:20:15 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Martyn J. Pearce <fluffy@sixears.com> >Release: FreeBSD 4.7-STABLE i386 >Organization: None >Environment: System: FreeBSD chrome.ninja.co.uk 4.7-STABLE FreeBSD 4.7-STABLE #4: Mon Feb 10 20:15:19 GMT 2003 martyn@chrome.ninja.co.uk:/usr/obj/usr/src/sys/CHROME i386 All required packages are installed /usr/local/share is a symlink, because due to disk space issues, it is stored on a distinct filesystem from /usr/local >Description: On my box, scrollkeeper refuses to build, as it cannot find docbookx.dtd, etc. I note that in the second chunk of the patch, two finds are run, the first appears to be redundant. I have left this, since it's not causing a problem right now, but is it cruft? >How-To-Repeat: Attempt to install scrollkeeper with the above config. Any of portupgrade down to make install will fail >Fix: The patch adds -follow to the relevant find commands. --- pkg_install.diff begins here --- --- pkg-install Sat Apr 26 07:06:13 2003 +++ pkg-install.orig Sat Apr 26 07:03:10 2003 @@ -32,7 +32,7 @@ # # find the prefix for DocBook DTD # -found=`find ${PREFIX}/ -follow -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 @@ -103,8 +103,8 @@ # find the prefix for ISO DocBook entities # top=`dirname $docbookdir` -found=`find $top -follow -iname "iso*amsb.ent" 2> /dev/null` -found=`find ${PREFIX}/ -follow -iname "iso*amsb.ent" 2> /dev/null` +found=`find $top -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 @@ -193,7 +193,7 @@ # top=`dirname $docbookdir` found=`find $top -name chunk.xsl 2> /dev/null` -found=`find ${PREFIX}/ -follow -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 --- pkg_install.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E199JxB-0006bq-55>