pf.buildlink3.mk: simplify ONLY_FOR_PLATFORM

Someone already dropped the FreeBSD bounds (previously FreeBSD-[5-9]*-*)
with the assumption we're only concerned with modern releases, so do the
same consistently for all, rather than adding more handling for NetBSD
10.x and above. (We can't reasonably be supporting NetBSD from more than
16 years ago, or OpenBSD from 20 years ago. And the DragonFly pattern
wasn't exact, either, as only 1.1 onward included pf.)
This commit is contained in:
gutteridge 2022-06-01 21:42:02 +00:00
parent ab248a7c48
commit b9dcd03c21

View file

@ -1,4 +1,4 @@
# $NetBSD: pf.buildlink3.mk,v 1.3 2015/01/14 20:40:32 rumko Exp $
# $NetBSD: pf.buildlink3.mk,v 1.4 2022/06/01 21:42:02 gutteridge Exp $
#
# Makefile fragment for packages using pf.
#
@ -15,8 +15,7 @@ PF_BUILDLINK3_MK= #defined
.include "../../mk/bsd.fast.prefs.mk"
# Platforms where pf is available on.
ONLY_FOR_PLATFORM?= NetBSD-[3-9]*-* OpenBSD-[3-9]*-* FreeBSD-*-* \
DragonFly-*-*
ONLY_FOR_PLATFORM?= NetBSD-*-* OpenBSD-*-* FreeBSD-*-* DragonFly-*-*
# Detect the pfvar.h header.
.if exists(/usr/include/net/pfvar.h)