summaryrefslogtreecommitdiff
path: root/misc/libutf
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-04-12 11:17:15 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-04-12 11:17:15 +0000
commit6127702110f491250533b107f2bfe3baf6fbaba0 (patch)
tree28099e2bc1d22f0c3dcbbe8aa99d577dc1231649 /misc/libutf
parentb1d037a4e2e1e39fdbdaee83ed238a7b925223c3 (diff)
downloadpkgsrc-6127702110f491250533b107f2bfe3baf6fbaba0.tar.gz
bl3ify
Diffstat (limited to 'misc/libutf')
-rw-r--r--misc/libutf/Makefile3
-rw-r--r--misc/libutf/buildlink3.mk18
2 files changed, 20 insertions, 1 deletions
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/+$//}