From owner-freebsd-current@FreeBSD.ORG Tue May 6 16:53:51 2014 Return-Path: Delivered-To: freebsd-current@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 9D64B266 for ; Tue, 6 May 2014 16:53:51 +0000 (UTC) Received: from mail-pa0-f45.google.com (mail-pa0-f45.google.com [209.85.220.45]) (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 6F0069CE for ; Tue, 6 May 2014 16:53:50 +0000 (UTC) Received: by mail-pa0-f45.google.com with SMTP id ey11so6153271pad.32 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=fBmpNGVd+n5giswsqnogMD4a9vlv6URv8Kx82KsnvUdX+MwLk87kIg/Iu+agsMhb8A jP83ip9/CX3VeegXMTIpzV5QO8g786MgypIcstAKViXVfw0njeBQz2SwiKSQqNwrXwQk 4cHBVSMlBPxZ31sopSKThduY+TCc1wT+1MJspGcs869guL3rsbqowPNiyMAPA/IydM8i td5P13Uzan+jPBhDI9VrTsIwGutqFsgkQFiFK4+aBhlQLGY3KCdzFCQcI6fQQ4j5SUWc rjPtNoBC959K6nQ2eKnzW/a8xpqaGswT79ynfQhzHwDgA8fh+rZFu3yym6uJL58GKYeq /I+g== X-Gm-Message-State: ALoCoQkQcuN+lEKhgF/bzRS5TH3m8Y1ub/mGgNimrZgUAdZ694sfrKkPD4qwtEH85k2CWRV4x7gh 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-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2014 16:53:51 -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