From cf0ea553c1df14797a59451dc386f85513cc27c3 Mon Sep 17 00:00:00 2001 From: wiz Date: Mon, 21 Oct 2002 15:27:16 +0000 Subject: Convert to buildlink2. --- time/kworldwatch/Makefile | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'time') diff --git a/time/kworldwatch/Makefile b/time/kworldwatch/Makefile index 6f8192bb6a1..27c1fe5640c 100644 --- a/time/kworldwatch/Makefile +++ b/time/kworldwatch/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2002/03/13 17:37:45 fredb Exp $ +# $NetBSD: Makefile,v 1.8 2002/10/21 15:27:16 wiz Exp $ # DISTNAME= kworldwatch-0.6 @@ -11,24 +11,22 @@ MAINTAINER= hubertf@netbsd.org COMMENT= Revolving world map indicating the time in each part of the world BUILD_USES_MSGFMT= yes -DEPENDS+= kdebase-1.1.2nb1:../../x11/kdebase CONFLICTS+= kdetoys-[0-9]* -USE_LIBINTL= YES +USE_BUILDLINK2= YES USE_X11BASE= YES GNU_CONFIGURE= YES -EVAL_PREFIX+= QT1DIR=qt1 KDEBASEDIR=kdebase -CONFIGURE_ARGS+=--datadir=${KDEBASEDIR}/share/kde \ - --with-qt-dir=${QT1DIR}/qt1 \ - --with-qt-libraries='${QT1DIR}/qt1/lib -L${LOCALBASE}/lib' \ +CONFIGURE_ARGS+=--datadir=${BUILDLINK_PREFIX.kdebase}/share/kde \ + --with-qt-dir=${QTDIR} \ + --with-qt-libraries='${QTDIR}/lib -L${LOCALBASE}/lib' \ --enable-path-check -CFLAGS+= -I${LOCALBASE}/include -CONFIGURE_ENV= KDEDIR=${KDEBASEDIR} \ - MOC=${QT1DIR}/qt1/bin/moc \ - QTDIR=${QT1DIR}/qt1 \ +#CFLAGS+= -I${LOCALBASE}/include +CONFIGURE_ENV= KDEDIR=${BUILDLINK_PREFIX.kdebase} \ CXXFLAGS="${CFLAGS}" \ all_libraries="-L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -L${X11BASE}/lib -Wl,-R${X11BASE}/lib" +.include "../../devel/gettext-lib/buildlink2.mk" +.include "../../x11/kdebase/buildlink2.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3