[kde-freebsd] devel/qt4-makeqpf -- references OSVERSION before initialized
Raphael Kubo da Costa
rakuco at FreeBSD.org
Sat Jun 2 14:39:18 UTC 2012
Matthew Seaman <matthew at 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 :-(
More information about the kde-freebsd
mailing list