summaryrefslogtreecommitdiff
path: root/devel/librsync
diff options
context:
space:
mode:
authorsnj <snj>2004-04-18 23:31:34 +0000
committersnj <snj>2004-04-18 23:31:34 +0000
commit90fffbf430087df66436677671fdd1413315293c (patch)
tree2a1640add0616db834f7872cb91e5f97530371f3 /devel/librsync
parent90484db7bcadcc57c6a3335804c0b2214cfe90e0 (diff)
downloadpkgsrc-90fffbf430087df66436677671fdd1413315293c.tar.gz
Convert to buildlink3.
Diffstat (limited to 'devel/librsync')
-rw-r--r--devel/librsync/Makefile12
-rw-r--r--devel/librsync/buildlink3.mk23
2 files changed, 29 insertions, 6 deletions
diff --git a/devel/librsync/Makefile b/devel/librsync/Makefile
index 0ff89097a7c..c1156b01f8d 100644
--- a/devel/librsync/Makefile
+++ b/devel/librsync/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2004/02/14 17:21:38 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2004/04/18 23:31:34 snj Exp $
#
DISTNAME= librsync-0.9.6
@@ -13,11 +13,11 @@ COMMENT= Checksum-based differencing library
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --without-included-popt
USE_LIBTOOL= yes
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
-.include "../../archivers/bzip2/buildlink2.mk"
-.include "../../devel/gettext-lib/buildlink2.mk"
-.include "../../devel/popt/buildlink2.mk"
-.include "../../devel/zlib/buildlink2.mk"
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/popt/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/librsync/buildlink3.mk b/devel/librsync/buildlink3.mk
new file mode 100644
index 00000000000..4ee2eb5a67e
--- /dev/null
+++ b/devel/librsync/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/18 23:31:34 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBRSYNC_BUILDLINK3_MK:= ${LIBRSYNC_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= librsync
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibrsync}
+BUILDLINK_PACKAGES+= librsync
+
+.if !empty(LIBRSYNC_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.librsync+= librsync>=0.9.6nb2
+BUILDLINK_PKGSRCDIR.librsync?= ../../devel/librsync
+.endif # LIBRSYNC_BUILDLINK3_MK
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/popt/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}