summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorminskim <minskim>2004-02-22 16:48:11 +0000
committerminskim <minskim>2004-02-22 16:48:11 +0000
commited8f7088872aad94b0a3920640fa5c7835570552 (patch)
tree29fbe6955a21c2ecc2935217f160a289873603b8 /net
parent5976b417f877665662e21fcbacc2a6dc48c8025f (diff)
downloadpkgsrc-ed8f7088872aad94b0a3920640fa5c7835570552.tar.gz
bl3ify
Diffstat (limited to 'net')
-rw-r--r--net/netatalk/Makefile8
-rw-r--r--net/netatalk/buildlink3.mk22
2 files changed, 26 insertions, 4 deletions
diff --git a/net/netatalk/Makefile b/net/netatalk/Makefile
index 00c00a945ff..7516b34c275 100644
--- a/net/netatalk/Makefile
+++ b/net/netatalk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2004/02/14 17:21:46 jlam Exp $
+# $NetBSD: Makefile,v 1.30 2004/02/22 16:51:23 minskim Exp $
DISTNAME= netatalk-1.6.2
CATEGORIES= net print
@@ -10,7 +10,7 @@ HOMEPAGE= http://sourceforge.net/projects/netatalk/
COMMENT= Netatalk appletalk file and print services
GNU_CONFIGURE= YES
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_GNU_TOOLS+= make
USE_PERL5= YES
USE_LIBTOOL= YES
@@ -52,7 +52,7 @@ pre-install:
${PREFIX}/share/examples/netatalk/
.endfor
-#.include "../../databases/db3/buildlink2.mk"
-.include "../../devel/rx/buildlink2.mk"
+#.include "../../databases/db3/buildlink3.mk"
+.include "../../devel/rx/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/netatalk/buildlink3.mk b/net/netatalk/buildlink3.mk
new file mode 100644
index 00000000000..ad2b8f21d15
--- /dev/null
+++ b/net/netatalk/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/22 16:51:23 minskim Exp $
+#
+# This Makefile fragment is included by packages that use netatalk.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+NETATALK_BUILDLINK3_MK:= ${NETATALK_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= netatalk
+.endif
+
+.if !empty(NETATALK_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= netatalk
+BUILDLINK_DEPENDS.netatalk+= netatalk>=1.6.2
+BUILDLINK_PKGSRCDIR.netatalk?= ../../net/netatalk
+
+.include "../../devel/rx/buildlink3.mk"
+
+.endif # NETATALK_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}