summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-10-21 15:27:16 +0000
committerwiz <wiz@pkgsrc.org>2002-10-21 15:27:16 +0000
commitcf0ea553c1df14797a59451dc386f85513cc27c3 (patch)
tree1f084dfc57171ac8c1aae3d7725372114d69f329 /time
parent8cf54e1a5b36d135a682d025f08368cf1ee982d5 (diff)
downloadpkgsrc-cf0ea553c1df14797a59451dc386f85513cc27c3.tar.gz
Convert to buildlink2.
Diffstat (limited to 'time')
-rw-r--r--time/kworldwatch/Makefile20
1 files changed, 9 insertions, 11 deletions
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"