summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgutteridge <gutteridge@pkgsrc.org>2022-06-01 21:42:02 +0000
committergutteridge <gutteridge@pkgsrc.org>2022-06-01 21:42:02 +0000
commit2ce124bc61f1fed1b6e7aee555c3a14a3b3601e1 (patch)
treea7dc828c5a4730da0375edda4d6c816c90f13634 /mk
parent4610282645f716cf1bfab1130f9849a6f71b31f2 (diff)
downloadpkgsrc-2ce124bc61f1fed1b6e7aee555c3a14a3b3601e1.tar.gz
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.)
Diffstat (limited to 'mk')
-rw-r--r--mk/pf.buildlink3.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/mk/pf.buildlink3.mk b/mk/pf.buildlink3.mk
index 5c00e2a1435..d6b098847de 100644
--- a/mk/pf.buildlink3.mk
+++ b/mk/pf.buildlink3.mk
@@ -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)