summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-02-14 18:22:56 +0000
committerminskim <minskim@pkgsrc.org>2004-02-14 18:22:56 +0000
commit0e68344a802d6f4ce3ddd68edc97b5fabc9f9acb (patch)
tree56e7abe0de19782d2049539a3b2d5e20ed8e177b
parent52bdbb3a32d6fd55af678ac4270ddb0e837a77fb (diff)
downloadpkgsrc-0e68344a802d6f4ce3ddd68edc97b5fabc9f9acb.tar.gz
bl3ify
-rw-r--r--mail/faces/Makefile6
-rw-r--r--mail/faces/buildlink3.mk20
2 files changed, 23 insertions, 3 deletions
diff --git a/mail/faces/Makefile b/mail/faces/Makefile
index ff91afbf357..22529b958d9 100644
--- a/mail/faces/Makefile
+++ b/mail/faces/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2004/01/20 12:19:43 agc Exp $
+# $NetBSD: Makefile,v 1.37 2004/02/14 18:22:56 minskim Exp $
DISTNAME= faces-1.6.1
PKGREVISION= 2
@@ -17,7 +17,7 @@ LICENSE= limited-redistribution
RESTRICTED= "Distribution not allowed if money exchanged"
WRKSRC= ${WRKDIR}/faces
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_X11BASE= YES
USE_LIBTOOL= YES
@@ -57,5 +57,5 @@ do-configure:
${MV} -f $${FILE}.fixed $${FILE}; \
done
-.include "../../lang/perl5/buildlink2.mk"
+.include "../../lang/perl5/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/faces/buildlink3.mk b/mail/faces/buildlink3.mk
new file mode 100644
index 00000000000..b450f1be640
--- /dev/null
+++ b/mail/faces/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/14 18:22:56 minskim Exp $
+#
+# This Makefile fragment is included by packages that use faces.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+FACES_BUILDLINK3_MK:= ${FACES_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= faces
+.endif
+
+.if !empty(FACES_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= faces
+BUILDLINK_DEPENDS.faces+= faces>=1.6.1nb1
+BUILDLINK_PKGSRCDIR.faces?= ../../mail/faces
+
+.endif # FACES_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}