diff options
-rw-r--r-- | mail/faces/Makefile | 6 | ||||
-rw-r--r-- | mail/faces/buildlink3.mk | 20 |
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/+$//} |