summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-02-14 18:43:43 +0000
committerminskim <minskim@pkgsrc.org>2004-02-14 18:43:43 +0000
commit38b5aec2f49177a7181501ea03003beaea4de2e7 (patch)
tree9b252f6b17e274d2f6bdd94e947c01e8be3c1a5d
parent821ee82767e8e5c1d8d06a38768ca7a2d35437a1 (diff)
downloadpkgsrc-38b5aec2f49177a7181501ea03003beaea4de2e7.tar.gz
bl3ify and add explicit dependency on pkgconfig.
-rw-r--r--comms/jpilot/Makefile11
-rw-r--r--comms/jpilot/buildlink3.mk26
2 files changed, 32 insertions, 5 deletions
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/+$//}