Re: Ports: make fails, if DESTDIR path has spaces

2013-04-01 Thread rank1seeker
Try DESTDIR='/usr/TZ\ ONE'; export DESTDIR. You need to escape the space. This is '#!/bin/sh' scripting. Doing so fixes *.mk, but breaks sh = dir simply doesn't exist anymore. Matthias Chris = *.mk is at fault here, for not supporting FreeBSD's full range of chars for dir paths Domagoj

Re: Ports: make fails, if DESTDIR path has spaces

2013-04-01 Thread Chris Rees
On 1 April 2013 17:13, rank1see...@gmail.com wrote: Try DESTDIR='/usr/TZ\ ONE'; export DESTDIR. You need to escape the space. This is '#!/bin/sh' scripting. Doing so fixes *.mk, but breaks sh = dir simply doesn't exist anymore. Matthias Chris = *.mk is at fault here, for not supporting

Re: Ports: make fails, if DESTDIR path has spaces

2013-04-01 Thread Kimmo Paasiala
On Mon, Apr 1, 2013 at 7:30 PM, Chris Rees cr...@freebsd.org wrote: On 1 April 2013 17:13, rank1see...@gmail.com wrote: Try DESTDIR='/usr/TZ\ ONE'; export DESTDIR. You need to escape the space. This is '#!/bin/sh' scripting. Doing so fixes *.mk, but breaks sh = dir simply doesn't exist

Re: Ports: make fails, if DESTDIR path has spaces

2013-04-01 Thread Matthias Apitz
El día Monday, April 01, 2013 a las 06:13:53PM +0200, rank1see...@gmail.com escribió: Try DESTDIR='/usr/TZ\ ONE'; export DESTDIR. You need to escape the space. This is '#!/bin/sh' scripting. Doing so fixes *.mk, but breaks sh = dir simply doesn't exist anymore. Matthias Chris =

Re: Ports: make fails, if DESTDIR path has spaces

2013-04-01 Thread Joshua Isom
On 4/1/2013 11:45 AM, Kimmo Paasiala wrote: On Mon, Apr 1, 2013 at 7:30 PM, Chris Rees cr...@freebsd.org wrote: On 1 April 2013 17:13, rank1see...@gmail.com wrote: Try DESTDIR='/usr/TZ\ ONE'; export DESTDIR. You need to escape the space. This is '#!/bin/sh' scripting. Doing so fixes *.mk,

Ports: make fails, if DESTDIR path has spaces

2013-03-31 Thread rank1seeker
Under 9.0-RELEASE-p6 -- #!/bin/sh # Contains 9.0 world DESTDIR='/usr/TZ ONE'; export DESTDIR cd /usr/ports/benchmarks/unixbench /usr/bin/make showconfig -- Errors: --- [: /usr/TZ: unexpected operator === Creating some important subdirectories [: /usr/TZ: unexpected operator === /tmp

Re: Ports: make fails, if DESTDIR path has spaces

2013-03-31 Thread Joshua Isom
Try DESTDIR='/usr/TZ\ ONE'; export DESTDIR. You need to escape the space. On 3/31/2013 8:38 AM, rank1see...@gmail.com wrote: Under 9.0-RELEASE-p6 -- #!/bin/sh # Contains 9.0 world DESTDIR='/usr/TZ ONE'; export DESTDIR cd /usr/ports/benchmarks/unixbench /usr/bin/make showconfig -- Errors:

Re: Ports: make fails, if DESTDIR path has spaces

2013-03-31 Thread Chris Rees
On 31 March 2013 14:38, rank1see...@gmail.com wrote: Under 9.0-RELEASE-p6 -- #!/bin/sh # Contains 9.0 world DESTDIR='/usr/TZ ONE'; export DESTDIR cd /usr/ports/benchmarks/unixbench /usr/bin/make showconfig -- Errors: --- [: /usr/TZ: unexpected operator === Creating some

Re: Ports: make fails, if DESTDIR path has spaces

2013-03-31 Thread Matthias Apitz
El día Sunday, March 31, 2013 a las 05:29:18PM +0100, Chris Rees escribió: Yeah, don't do that. +1 Spaces in directories will always cause problems; I suppose someone could fix it in bsd.port.mk, but it will probably break somewhere else; spaces in Make variables have a special meaning.