[kde-freebsd] devel/qt4-makeqpf -- references OSVERSION before initialized
Matthew Seaman
matthew at FreeBSD.org
Sat Jun 2 09:25:30 UTC 2012
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>
--
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20120602/9cce0fa5/attachment.sig>
More information about the kde-freebsd
mailing list