pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk pf.buildlink3.mk: simplify ONLY_FOR_PLATFORM



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4d02e6cac2ce
branches:  trunk
changeset: 380259:4d02e6cac2ce
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Wed Jun 01 21:42:02 2022 +0000

description:
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:

 mk/pf.buildlink3.mk |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r e5faf3d65a86 -r 4d02e6cac2ce mk/pf.buildlink3.mk
--- a/mk/pf.buildlink3.mk       Wed Jun 01 21:27:08 2022 +0000
+++ b/mk/pf.buildlink3.mk       Wed Jun 01 21:42:02 2022 +0000
@@ -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 @@
 .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)



Home | Main Index | Thread Index | Old Index