Convert to buildlink2.
This commit is contained in:
parent
8cf54e1a5b
commit
cf0ea553c1
1 changed files with 9 additions and 11 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue