From 38b5aec2f49177a7181501ea03003beaea4de2e7 Mon Sep 17 00:00:00 2001 From: minskim Date: Sat, 14 Feb 2004 18:43:43 +0000 Subject: bl3ify and add explicit dependency on pkgconfig. --- comms/jpilot/Makefile | 11 ++++++----- comms/jpilot/buildlink3.mk | 26 ++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 5 deletions(-) create mode 100644 comms/jpilot/buildlink3.mk (limited to 'comms') diff --git a/comms/jpilot/Makefile b/comms/jpilot/Makefile index b8d146f81a2..5015960aa4b 100644 --- a/comms/jpilot/Makefile +++ b/comms/jpilot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2004/02/14 17:21:35 jlam Exp $ +# $NetBSD: Makefile,v 1.40 2004/02/14 18:43:43 minskim Exp $ # DISTNAME= jpilot-0.99.5 @@ -15,7 +15,7 @@ DEPENDS+= gnome-dirs>=1.0:../../misc/gnome-dirs CONFLICTS+= jpilot-libplugin-[0-9]* -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES USE_LIBTOOL= YES USE_PKGLOCALEDIR= YES USE_X11= YES @@ -53,8 +53,9 @@ post-install: cd ${WRKSRC}/docs; ${INSTALL_MAN} *.1 ${MAN1DIR} ${TOUCH} ${PLUGINSDIR}/.directory -.include "../../comms/pilot-link-libs/buildlink2.mk" -.include "../../devel/gettext-lib/buildlink2.mk" -.include "../../x11/gtk2/buildlink2.mk" +.include "../../comms/pilot-link-libs/buildlink3.mk" +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../devel/pkgconfig/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/comms/jpilot/buildlink3.mk b/comms/jpilot/buildlink3.mk new file mode 100644 index 00000000000..c12ca23287e --- /dev/null +++ b/comms/jpilot/buildlink3.mk @@ -0,0 +1,26 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/02/14 18:43:43 minskim Exp $ +# +# This Makefile fragment is included by packages that use jpilot. +# +# This file was created automatically using createbuildlink-3.1. +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +JPILOT_BUILDLINK3_MK:= ${JPILOT_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= jpilot +.endif + +.if !empty(JPILOT_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= jpilot +BUILDLINK_DEPENDS.jpilot+= jpilot>=0.99.5nb4 +BUILDLINK_PKGSRCDIR.jpilot?= ../../comms/jpilot + +.include "../../comms/pilot-link-libs/buildlink3.mk" +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" + +.endif # JPILOT_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} -- cgit v1.2.3