summaryrefslogtreecommitdiff
path: root/sysutils/file/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/file/buildlink3.mk')
-rw-r--r--sysutils/file/buildlink3.mk20
1 files changed, 6 insertions, 14 deletions
diff --git a/sysutils/file/buildlink3.mk b/sysutils/file/buildlink3.mk
index a5d9c722d4e..99c0c8e35f8 100644
--- a/sysutils/file/buildlink3.mk
+++ b/sysutils/file/buildlink3.mk
@@ -1,26 +1,18 @@
-# $NetBSD: buildlink3.mk,v 1.7 2008/10/29 20:50:16 christos Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2009/03/20 19:25:24 joerg Exp $
#
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-FILE_BUILDLINK3_MK:= ${FILE_BUILDLINK3_MK}+
+BUILDLINK_TREE+= file
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= file
-.endif
-
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfile}
-BUILDLINK_PACKAGES+= file
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}file
-
-.if !empty(FILE_BUILDLINK3_MK:M+)
+.if !defined(FILE_BUILDLINK3_MK)
+FILE_BUILDLINK3_MK:=
. include "../../mk/bsd.fast.prefs.mk"
BUILDLINK_API_DEPENDS.file+= file>=4.17
BUILDLINK_ABI_DEPENDS.file+= file>=4.17
BUILDLINK_PKGSRCDIR.file?= ../../sysutils/file
-.endif # FILE_BUILDLINK3_MK
pkgbase := file
.include "../../mk/pkg-build-options.mk"
+.endif # FILE_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -file