Matthew Seaman <matt...@freebsd.org> writes:

> Dear kde,
>
> devel/qt4-makeqpf port is throwing 'Malformed conditional' errors
> because you're referencing ${OSVERSION} before it is initialised.
>
> Here's a fix:
>
> lucid-nonsense:...ports/devel/qt4-makeqpf:# diff -u Makefile{~,}
> --- Makefile~ 2012-06-02 09:29:49.500903933 +0100
> +++ Makefile  2012-06-02 10:20:33.175898577 +0100
> @@ -45,6 +45,8 @@
>
>  EXTRA_PATCHES=       ${.CURDIR}/../../devel/qt4/files/patch-configure
>
> +.include <bsd.port.pre.mk>
> +
>  .if ${OSVERSION} < 802502
>  EXTRA_PATCHES+=      ${FILESDIR}/extra-patch-tools__makeqpf__qpf2.cpp
>  .endif
> @@ -58,4 +60,4 @@
>       ${LN} -sf ${LOCALBASE}/bin/uic-qt4 ${WRKSRC}/bin/uic
>       ${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/bin/rcc
>
> -.include <bsd.port.mk>
> +.include <bsd.port.post.mk>

Thanks, it looks like bapt@ already fixed it a few hours ago. Sorry for
the trouble :-(
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to