summaryrefslogtreecommitdiff
path: root/archivers/lzo/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/lzo/buildlink3.mk')
-rw-r--r--archivers/lzo/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/archivers/lzo/buildlink3.mk b/archivers/lzo/buildlink3.mk
index 747f6f2af17..eb81f85533f 100644
--- a/archivers/lzo/buildlink3.mk
+++ b/archivers/lzo/buildlink3.mk
@@ -1,19 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2009/03/20 19:23:51 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-LZO_BUILDLINK3_MK:= ${LZO_BUILDLINK3_MK}+
+BUILDLINK_TREE+= lzo
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= lzo
-.endif
+.if !defined(LZO_BUILDLINK3_MK)
+LZO_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlzo}
-BUILDLINK_PACKAGES+= lzo
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}lzo
-
-.if !empty(LZO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.lzo+= lzo>=2.01
BUILDLINK_PKGSRCDIR.lzo?= ../../archivers/lzo
-.endif # LZO_BUILDLINK3_MK
+.endif # LZO_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -lzo