From 3513079ada5ba9df63eaadbbd1acf0837ff16847 Mon Sep 17 00:00:00 2001 From: obache Date: Sun, 7 Feb 2010 12:29:18 +0000 Subject: Fixes to build with qt-4.6. remove files generated with moc in 4.5. --- graphics/clutter-qt/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/graphics/clutter-qt/Makefile b/graphics/clutter-qt/Makefile index 7a28e36537a..bc2f7adc6f0 100644 --- a/graphics/clutter-qt/Makefile +++ b/graphics/clutter-qt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2010/01/18 09:58:56 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2010/02/07 12:29:18 obache Exp $ # DISTNAME= clutter-qt-1.0.0 @@ -15,13 +15,17 @@ PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes USE_LIBTOOL= yes -USE_TOOLS+= pkg-config +USE_TOOLS+= gmake pkg-config USE_LANGUAGES= c c++ PKGCONFIG_OVERRIDE+= clutter-qt.pc.in CONFIGURE_ARGS+= --with-moc=${QTDIR}/bin/moc +post-extract: + rm -f ${WRKSRC}/clutter-qt/moc_clutter-qt.cc + rm -f ${WRKSRC}/examples/moc_testqt.cc + .include "../../graphics/clutter/buildlink3.mk" BUILDLINK_API_DEPENDS.qt4-libs+= qt4-libs>=4.2.0 .include "../../x11/qt4-libs/buildlink3.mk" -- cgit v1.2.3