Date: Tue, 6 May 2014 10:53:47 -0600 From: Warner Losh <imp@bsdimp.com> To: "O. Hartmann" <ohartman@zedat.fu-berlin.de> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: devel/qmake4: "/usr/share/mk/bsd.prog.mk" line 176: Malformed conditional (${COMPILER_TYPE} Message-ID: <3316CF1B-397B-484F-9B81-9643122CE169@gmail.com> In-Reply-To: <20140506183833.27f3c1ac.ohartman@zedat.fu-berlin.de> References: <20140506183833.27f3c1ac.ohartman@zedat.fu-berlin.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On May 6, 2014, at 10:38 AM, O. Hartmann <ohartman@zedat.fu-berlin.de> = 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3316CF1B-397B-484F-9B81-9643122CE169>