summaryrefslogtreecommitdiff
path: root/devel/subversion
diff options
context:
space:
mode:
Diffstat (limited to 'devel/subversion')
-rw-r--r--devel/subversion/Makefile.common4
-rw-r--r--devel/subversion/buildlink3.mk27
2 files changed, 29 insertions, 2 deletions
diff --git a/devel/subversion/Makefile.common b/devel/subversion/Makefile.common
index 4be0279d6d1..ba2db1dd802 100644
--- a/devel/subversion/Makefile.common
+++ b/devel/subversion/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.11 2004/02/14 17:21:39 jlam Exp $
+# $NetBSD: Makefile.common,v 1.12 2004/03/08 00:15:53 minskim Exp $
DISTNAME= subversion-${SVNVER}
CATEGORIES= devel
@@ -17,7 +17,7 @@ COMMON_FILESDIR= ${.CURDIR}/../../devel/subversion/files
PATCHDIR= ${.CURDIR}/../../devel/subversion/patches
GNU_CONFIGURE= YES
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_LIBTOOL= YES
CONFIGURE_ARGS+= --with-apr=${BUILDLINK_PREFIX.apr}
diff --git a/devel/subversion/buildlink3.mk b/devel/subversion/buildlink3.mk
new file mode 100644
index 00000000000..90ad399a38c
--- /dev/null
+++ b/devel/subversion/buildlink3.mk
@@ -0,0 +1,27 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/08 00:15:53 minskim Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SUBVERSION_BASE_BUILDLINK3_MK:= ${SUBVERSION_BASE_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= subversion-base
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsubversion-base}
+BUILDLINK_PACKAGES+= subversion-base
+
+.if !empty(SUBVERSION_BASE_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.subversion-base+= subversion-base>=${SVNVER}
+BUILDLINK_PKGSRCDIR.subversion-base?= ../../devel/subversion-base
+
+BUILDLINK_FILES.subversion-base+= bin/svn-config
+
+.include "../../databases/db4/buildlink3.mk"
+.include "../../devel/apr/buildlink3.mk"
+.include "../../www/neon/buildlink3.mk"
+
+.include "../../devel/subversion/Makefile.version"
+
+.endif # SUBVERSION_BASE_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}