Add buildlink3 file and detection for pf in -current.
This commit is contained in:
parent
25e98f8312
commit
e608652a58
2 changed files with 28 additions and 0 deletions
18
pflkm/buildlink3.mk
Normal file
18
pflkm/buildlink3.mk
Normal file
|
@ -0,0 +1,18 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.1 2004/06/24 22:11:45 ppostma Exp $
|
||||
|
||||
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
||||
PF_LKM_BUILDLINK3_MK:= ${PF_LKM_BUILDLINK3_MK}+
|
||||
|
||||
.if !empty(BUILDLINK_DEPTH:M+)
|
||||
BUILDLINK_DEPENDS+= pf-lkm
|
||||
.endif
|
||||
|
||||
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npf-lkm}
|
||||
BUILDLINK_PACKAGES+= pf-lkm
|
||||
|
||||
.if !empty(PF_LKM_BUILDLINK3_MK:M+)
|
||||
BUILDLINK_DEPENDS.pf-lkm+= pf-lkm>=20040607
|
||||
BUILDLINK_PKGSRCDIR.pf-lkm?= ../../wip/pflkm
|
||||
.endif # PF_LKM_BUILDLINK3_MK
|
||||
|
||||
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|
10
pflkm/builtin.mk
Normal file
10
pflkm/builtin.mk
Normal file
|
@ -0,0 +1,10 @@
|
|||
# $NetBSD: builtin.mk,v 1.1 2004/06/24 22:11:45 ppostma Exp $
|
||||
|
||||
.if !defined(IS_BUILTIN.pf-lkm)
|
||||
IS_BUILTIN.pf-lkm= no
|
||||
. if exists(/usr/include/net/pfvar.h)
|
||||
IS_BUILTIN.pf-lkm= yes
|
||||
. endif
|
||||
.endif # IS_BUILTIN.pf-lkm
|
||||
|
||||
USE_BUILTIN.pf-lkm?= ${IS_BUILTIN.pf-lkm}
|
Loading…
Reference in a new issue