Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 2002 00:19:16 -0500
From:      "Dan Langille" <dan@langille.org>
To:        Edwin Groothuis <edwin@mavetju.org>
Cc:        lioux@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, ports@FreeBSD.org
Subject:   Re: spaces in RUN_DEPENDS and BUILD_DEPENDS
Message-ID:  <3DDEC984.11622.C641815E@localhost>
In-Reply-To: <20021122231704.GJ50581@k7.mavetju>
References:  <20021122082819.G3909-100000@m20.unixathome.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23 Nov 2002 at 10:17, Edwin Groothuis wrote:

> On Fri, Nov 22, 2002 at 08:49:50AM -0500, Dan Langille wrote:
> > Following up on 20021121230418.6004.qmail@exxodus.fedaykin.here, I have
> > compiled a list of the ports which contains either trailing spaces,
> > leading spaces, or multiple embedded spaces within either the RUN_DEPENDS
> > or BUILD_DEPENDS output. We have yet to establish whether or not this is
> > actually a problem, but the list of such ports (with maintainer and
> > RUN_DEPENDS, BUILD_DEPENDS) is at
> > http://www.freshports.org/tmp/ports_spaces_depends.tgz (the file is about
> > 62KB, the uncompressed file is about 3.5MB).  Approximately 900 ports are
> > affected.
> > 
> > I have summarized the totals below as taken from a FreshPorts database
> > backup from yesterday. There will be overlap between each query as ports
> > may exhibit multiple symptoms.
> 
> Err... there is a thinking in error in this: it takes both the
> values from the ports Makefile and the one added by the ports-framework.
> 
> For example, look at archivers/fileroller:
> Your database contains:
> 
> RUN_DEPENDS: bzip:/usr/ports/archivers/bzip  lha:/usr/ports/archivers/lha  rar:/usr/ports/archivers/rar  lzop:/usr/ports/archivers/lzop
> 
> Looking at the Makefile (last modified 2002/11/13), I see this:
> RUN_DEPENDS=	bzip:${PORTSDIR}/archivers/bzip \
> 		lha:${PORTSDIR}/archivers/lha \
> 		rar:${PORTSDIR}/archivers/rar \
> 		lzop:${PORTSDIR}/archivers/lzop
> 
> make -V RUN_DEPENDS outputs this to:
> bzip:/usr/ports/archivers/bzip  lha:/usr/ports/archivers/lha  rar:/usr/ports/archivers/rar  lzop:/usr/ports/archivers/lzop   /usr/X11R6/share/gnome/.keep_me:/usr/ports/misc/gnomehier
> 
> There are your double spaces, which weren't originally in the Makefile.

My comments were based upon the data FreshPorts has collected from 
the Makefiles.  I am merely bringing this information up.  If it is 
not a problem, no worries.

The main thing I was concerned about was whether or not this is 
expected behaviour.
-- 
Dan Langille : http://www.langille.org/


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DDEC984.11622.C641815E>