From dba186dbbbc6ad45299ab4af70e0db900d65ea36 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Mon, 12 Apr 2004 11:17:15 +0000 Subject: bl3ify --- misc/libutf/Makefile | 3 ++- misc/libutf/buildlink3.mk | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 misc/libutf/buildlink3.mk (limited to 'misc') diff --git a/misc/libutf/Makefile b/misc/libutf/Makefile index 11426096f0e..708fdff4d22 100644 --- a/misc/libutf/Makefile +++ b/misc/libutf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2003/07/17 21:49:25 grant Exp $ +# $NetBSD: Makefile,v 1.13 2004/04/12 11:19:12 xtraeme Exp $ # DISTNAME= libutf-2.10 @@ -14,6 +14,7 @@ USE_PKGINSTALL= yes GNU_CONFIGURE= yes USE_LIBTOOL= yes ALL_TARGET= tst +USE_BUILDLINK3= yes CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} diff --git a/misc/libutf/buildlink3.mk b/misc/libutf/buildlink3.mk new file mode 100644 index 00000000000..0dfe5fcb02b --- /dev/null +++ b/misc/libutf/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/04/12 11:19:12 xtraeme Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBUTF_BUILDLINK3_MK:= ${LIBUTF_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libutf +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibutf} +BUILDLINK_PACKAGES+= libutf + +.if !empty(LIBUTF_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.libutf+= libutf>=2.10nb1 +BUILDLINK_PKGSRCDIR.libutf?= ../../misc/libutf +.endif # LIBUTF_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} -- cgit v1.2.3