From owner-freebsd-ports@FreeBSD.ORG Tue May 6 16:53:56 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ACCF4364 for ; Tue, 6 May 2014 16:53:56 +0000 (UTC) Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7E55D9D1 for ; Tue, 6 May 2014 16:53:56 +0000 (UTC) Received: by mail-pd0-f175.google.com with SMTP id x10so2003824pdj.6 for ; Tue, 06 May 2014 09:53:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=+4TmuE4s5uFk7sHSaozBHxQMl0yr0ka1E7M8rO8CSxU=; b=AI+Hh562WH6oOlULMsM4yEYFwdk1eChABEyn+O9DcYk+8VuV2QJ4VT8UFelvlUnPGd AUS8RnIxXHH4EPr4F8friqIPzvA0CujGcYcbzOjAcGuEAqFeX6j4YMVxCI3k3XpTE0XH lV0QgbiuKRWGdFMKo09JGwjjG5WhPDMK0ds17J48+TnzrqBifhRs6JUJMiVsbrdugPJJ uybHvvSxCRMKwppo7pmmpQvPi4cMuUQExZvLf+/XQ+5xyJmgKoMbn3vH62tO5bwZaO+m /v0QQoaCt4RSAgG490ErvPUxllsLchkGdxhwxAhXsrXr3binKEr9qcdT1UTo4arGvWhq 0nxg== X-Gm-Message-State: ALoCoQmHdjRRwjWJcXRaWBxeOjWp3boSKDXdZZUV3r4g8Cu+FbO5oc5/XEY9SDQy+2Ci0Ply5X+c X-Received: by 10.67.1.39 with SMTP id bd7mr8305311pad.15.1399395230030; Tue, 06 May 2014 09:53:50 -0700 (PDT) Received: from [10.64.26.239] (dc1-prod.netflix.com. [69.53.236.251]) by mx.google.com with ESMTPSA id pr4sm1417683pbb.53.2014.05.06.09.53.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 May 2014 09:53:49 -0700 (PDT) Sender: Warner Losh X-Google-Original-From: Warner Losh Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: devel/qmake4: "/usr/share/mk/bsd.prog.mk" line 176: Malformed conditional (${COMPILER_TYPE} From: Warner Losh In-Reply-To: <20140506183833.27f3c1ac.ohartman@zedat.fu-berlin.de> Date: Tue, 6 May 2014 10:53:47 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <3316CF1B-397B-484F-9B81-9643122CE169@gmail.com> References: <20140506183833.27f3c1ac.ohartman@zedat.fu-berlin.de> To: "O. Hartmann" X-Mailer: Apple Mail (2.1874) Cc: FreeBSD CURRENT , FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2014 16:53:56 -0000 On May 6, 2014, at 10:38 AM, O. Hartmann = wrote: >=20 > On CURRENT (FreeBSD 11.0-CURRENT #0 r265433: Tue May 6 13:37:15 CEST = 2014 amd64) the > build/updating of port devel/qmake4 fails due to: >=20 > =3D=3D=3D> Building for qt4-qmake-4.8.6 > make[1]: "/usr/share/mk/bsd.prog.mk" line 176: Malformed conditional = (${COMPILER_TYPE} =3D=3D > "clang" && empty(CXXFLAGS:M-stdlib=3Dlibstdc++)) make[1]: Fatal errors = encountered -- > cannot continue make[1]: stopped > in = /usr/ports/devel/qmake4/work/qt-everywhere-opensource-src-4.8.6/qmake = =3D=3D=3D> Compilation > failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild = before reporting the > failure to the maintainer. > *** Error code 1 I think I have a fix. Please look at = http://people.freebsd.org/~imp/patch-queue/init to see if that solves = the problem. You can apply the patch, cd src/share/mk and do a make = install as root. Then try building devel/qmake4 and see if that solves = the problem. In a simplified test case, I was able to reproduce this = problem and fix it with that patch, but my VM that I did this in doesn=92t= have the space to build KDE, so I can=92t test this directly. Warner