From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 1 16:30:54 2013 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0A478875 for ; Mon, 1 Apr 2013 16:30:54 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::22a]) by mx1.freebsd.org (Postfix) with ESMTP id D44AB17C for ; Mon, 1 Apr 2013 16:30:53 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id c11so2535392ieb.29 for ; Mon, 01 Apr 2013 09:30:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=ZxhbxK4gRgQG3JmQY93v+5VSz+lcGw42D4SaNtgm7I8=; b=ucUClM3Ue0A2dlEepN+v7SIzXqfT43VQeaP72JK4UbgMlCRKy3sbf4H9bp0K03WyeX QOQm//CN4rqNNyrPN8ZvKmacLKFSCw/+aeUP73o+3ICkJFXSCORlPLqpJlg1Jqnzw2pP sxoSM+OdigolhQHe1MdmIbx2fo23w6b2ZC25K7aKa2bWX9koxM6WjKrDTip8CteSnOwS jMGyW+rQB25kO80rUnYc23bjfjx/9j6eNk89m5Q8cF9b0e5ijTMPUBstBEZLKH+BaPI/ vlzpEfAKzlnKE1GZb3FW19hNfrPVyurT7kyZjxXq9jauS8OAi1lBLRhnqldLyMAYAdlL +8zg== X-Received: by 10.50.152.132 with SMTP id uy4mr3686808igb.62.1364833853588; Mon, 01 Apr 2013 09:30:53 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.64.58.52 with HTTP; Mon, 1 Apr 2013 09:30:23 -0700 (PDT) In-Reply-To: <20130401.161353.972.1@DOMY-PC> References: <20130331.133829.093.1@DOMY-PC> <20130401.161353.972.1@DOMY-PC> From: Chris Rees Date: Mon, 1 Apr 2013 17:30:23 +0100 X-Google-Sender-Auth: aKMF9_J7dlOt5raIRWjeHmotojQ Message-ID: Subject: Re: Ports: make fails, if DESTDIR path has spaces To: rank1seeker@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-hackers@freebsd.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2013 16:30:54 -0000 On 1 April 2013 17:13, 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 FreeBSD's > full range of chars for dir paths As I explained before, Makefiles and sh have a strange relationship, where escaping is similar but different in weird places. Unless you are an expert, you should not use spaces in pathnames. Stop doing it; the ports system is not designed around them. Chris