From owner-freebsd-ports@FreeBSD.ORG Sun Aug 28 02:08:45 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B85B106566C; Sun, 28 Aug 2011 02:08:45 +0000 (UTC) (envelope-from kubito@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id ABE988FC15; Sun, 28 Aug 2011 02:08:44 +0000 (UTC) Received: by gxk28 with SMTP id 28so4722460gxk.13 for ; Sat, 27 Aug 2011 19:08:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=9+m+Gt63O1rE00ISI1h8OjuJPA2QxfaKNMq6yXb3DaM=; b=qe0/lF5fF1+QQyKmonyczhntp4G+Ua0kLp1RBYngdoCqtiF0R+AcYwr/zaCNhQdrPP soGql7nVpsFD0nsirq15547NXPWiw474+Xv28KeFxskSk2e3pxTGRlVqbbOfsGceu9l/ M2SFuJqzpXPKpMjbMPR9j4ab6eIZNHrBJXSIY= Received: by 10.236.116.33 with SMTP id f21mr16012470yhh.45.1314495959097; Sat, 27 Aug 2011 18:45:59 -0700 (PDT) Received: from gibbon.gmail.com ([189.61.193.250]) by mx.google.com with ESMTPS id q25sm3691589yhm.6.2011.08.27.18.45.56 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 27 Aug 2011 18:45:57 -0700 (PDT) Sender: Raphael Kubo da Costa From: Raphael Kubo da Costa To: Rene Ladan References: <4C040F4F.1010709@freebsd.org> Date: Sat, 27 Aug 2011 22:45:49 -0300 In-Reply-To: <4C040F4F.1010709@freebsd.org> (Rene Ladan's message of "Mon, 31 May 2010 21:34:39 +0200") Message-ID: <87y5yeb96a.fsf@FreeBSD.org> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: kde-freebsd@kde.org, freebsd ports Subject: Re: [kde-freebsd] devel/cmake bug: "-pthread; -D_THREAD_SAFE" emitted instead of "-pthread -D_THREAD_SAFE" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Aug 2011 02:08:45 -0000 Rene Ladan writes: > somehow devel/cmake outputs "-pthread;-D_THREAD_SAFE" instead of > "-pthread -D_THREAD_SAFE" to the generated Makefiles (note the semicolon). > > This means some list is passed verbatim to the compiler, causing the > shell to execute the wrong commands. I have looked into the source code > but there seems to be no relevant mention of "-D_THREAD_SAFE", nor in > /usr/include or /usr/local/include. > > A workaround of course is to patch the generated Makefiles, but it would > be nicer to fix the real problem (which does not seem to exist on most > Linux distributions). > > I'm using cmake 2.8.1, but it also happens with earlier versions. > > I don't have a testcase yet, sorry. Hey there, Do you still experience this one?