diff options
author | nia <nia@pkgsrc.org> | 2021-11-09 12:04:43 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-11-09 12:04:43 +0000 |
commit | 692a0937764027cf746e6fc43eb65a17a5a971cb (patch) | |
tree | 39fc28fc05b955002c8398419dd5c6e505fd7ca8 /mk/platform | |
parent | 554e2e262eee220da126d5f2d6f3688abc0d97e3 (diff) | |
download | pkgsrc-692a0937764027cf746e6fc43eb65a17a5a971cb.tar.gz |
mk: For consistency, rename PKG_HAS_ to OPSYS_HAVE_.
Requested by jperkin.
Diffstat (limited to 'mk/platform')
-rw-r--r-- | mk/platform/Bitrig.mk | 4 | ||||
-rw-r--r-- | mk/platform/Darwin.mk | 4 | ||||
-rw-r--r-- | mk/platform/DragonFly.mk | 4 | ||||
-rw-r--r-- | mk/platform/FreeBSD.mk | 4 | ||||
-rw-r--r-- | mk/platform/Linux.mk | 6 | ||||
-rw-r--r-- | mk/platform/MidnightBSD.mk | 4 | ||||
-rw-r--r-- | mk/platform/MirBSD.mk | 4 | ||||
-rw-r--r-- | mk/platform/NetBSD.mk | 8 | ||||
-rw-r--r-- | mk/platform/OpenBSD.mk | 4 | ||||
-rw-r--r-- | mk/platform/README | 8 |
10 files changed, 27 insertions, 23 deletions
diff --git a/mk/platform/Bitrig.mk b/mk/platform/Bitrig.mk index 04db99d821f..9577c18158f 100644 --- a/mk/platform/Bitrig.mk +++ b/mk/platform/Bitrig.mk @@ -1,4 +1,4 @@ -# $NetBSD: Bitrig.mk,v 1.3 2016/03/10 16:58:19 jperkin Exp $ +# $NetBSD: Bitrig.mk,v 1.4 2021/11/09 12:04:43 nia Exp $ # # Variable definitions for the Bitrig operating system. @@ -61,7 +61,7 @@ DEFAULT_SERIAL_DEVICE?= /dev/null SERIAL_DEVICES?= /dev/null .endif -PKG_HAVE_KQUEUE= # defined +OPSYS_HAS_KQUEUE= # defined _OPSYS_CAN_CHECK_SHLIBS= no diff --git a/mk/platform/Darwin.mk b/mk/platform/Darwin.mk index 11e8caa85e7..f81c59d5882 100644 --- a/mk/platform/Darwin.mk +++ b/mk/platform/Darwin.mk @@ -1,4 +1,4 @@ -# $NetBSD: Darwin.mk,v 1.106 2021/09/14 10:50:48 schmonz Exp $ +# $NetBSD: Darwin.mk,v 1.107 2021/11/09 12:04:43 nia Exp $ # # Variable definitions for the Darwin operating system. @@ -220,7 +220,7 @@ CONFIGURE_ENV+= ac_cv_func_poll=no # check for kqueue(2) support .if exists(${_OPSYS_INCLUDE_DIRS}/sys/event.h) -PKG_HAVE_KQUEUE= # defined +OPSYS_HAS_KQUEUE= # defined .endif # If the deployment target is not set explicitly, the linker in Tiger and prior diff --git a/mk/platform/DragonFly.mk b/mk/platform/DragonFly.mk index f2204ff0dc3..7c6f8dff5b0 100644 --- a/mk/platform/DragonFly.mk +++ b/mk/platform/DragonFly.mk @@ -1,4 +1,4 @@ -# $NetBSD: DragonFly.mk,v 1.52 2018/09/29 11:47:33 sevan Exp $ +# $NetBSD: DragonFly.mk,v 1.53 2021/11/09 12:04:43 nia Exp $ # # Variable definitions for the DragonFly operating system. @@ -57,7 +57,7 @@ _OPSYS_CAN_CHECK_SHLIBS= yes # use readelf in check/bsd.check-vars.mk # check for kqueue(2) support .if exists(/usr/include/sys/event.h) -PKG_HAVE_KQUEUE= # defined +OPSYS_HAS_KQUEUE= # defined .endif # check for maximum command line length and set it in configure's environment, diff --git a/mk/platform/FreeBSD.mk b/mk/platform/FreeBSD.mk index 973b6ed645c..291859a65e4 100644 --- a/mk/platform/FreeBSD.mk +++ b/mk/platform/FreeBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: FreeBSD.mk,v 1.37 2018/11/12 14:22:58 jperkin Exp $ +# $NetBSD: FreeBSD.mk,v 1.38 2021/11/09 12:04:43 nia Exp $ # # Variable definitions for the FreeBSD operating system. @@ -68,7 +68,7 @@ SERIAL_DEVICES?= /dev/cuaa0 # check for kqueue(2) support .if exists(/usr/include/sys/event.h) -PKG_HAVE_KQUEUE= # defined +OPSYS_HAS_KQUEUE= # defined .endif # Register support for SSP on x86 architectures diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk index ce9231045b7..26d1c307f8a 100644 --- a/mk/platform/Linux.mk +++ b/mk/platform/Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: Linux.mk,v 1.85 2021/11/09 11:05:07 nia Exp $ +# $NetBSD: Linux.mk,v 1.86 2021/11/09 12:04:43 nia Exp $ # # Variable definitions for the Linux operating system. @@ -185,5 +185,5 @@ GLIBC_VERSION= ${_GLIBC_VERSION_CMD:sh} MAKE_ENV+= NOGCCERROR=true .endif -PKG_HAVE_EVENTFD= # defined -PKG_HAVE_TIMERFD= # defined +OPSYS_HAS_EVENTFD= # defined +OPSYS_HAS_TIMERFD= # defined diff --git a/mk/platform/MidnightBSD.mk b/mk/platform/MidnightBSD.mk index 7e63b9f15f4..38c396ca3f2 100644 --- a/mk/platform/MidnightBSD.mk +++ b/mk/platform/MidnightBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: MidnightBSD.mk,v 1.1 2021/03/15 16:21:02 ryoon Exp $ +# $NetBSD: MidnightBSD.mk,v 1.2 2021/11/09 12:04:43 nia Exp $ # # Variable definitions for the MidnightBSD operating system. @@ -68,7 +68,7 @@ SERIAL_DEVICES?= /dev/cuaa0 # check for kqueue(2) support .if exists(/usr/include/sys/event.h) -PKG_HAVE_KQUEUE= # defined +OPSYS_HAS_KQUEUE= # defined .endif # Register support for SSP on x86 architectures diff --git a/mk/platform/MirBSD.mk b/mk/platform/MirBSD.mk index 9b5df50ee76..a6229cbeb5a 100644 --- a/mk/platform/MirBSD.mk +++ b/mk/platform/MirBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: MirBSD.mk,v 1.13 2017/01/17 22:57:39 wiz Exp $ +# $NetBSD: MirBSD.mk,v 1.14 2021/11/09 12:04:43 nia Exp $ # # Variable definitions for the MirOS BSD operating system. @@ -64,7 +64,7 @@ DEFAULT_SERIAL_DEVICE?= /dev/null SERIAL_DEVICES?= /dev/null .endif -PKG_HAVE_KQUEUE= # defined +OPSYS_HAS_KQUEUE= # defined _OPSYS_CAN_CHECK_SHLIBS= no # can't use readelf in check/bsd.check-vars.mk diff --git a/mk/platform/NetBSD.mk b/mk/platform/NetBSD.mk index a1f8488f4ca..7f5e131ceb4 100644 --- a/mk/platform/NetBSD.mk +++ b/mk/platform/NetBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: NetBSD.mk,v 1.68 2021/11/09 11:05:07 nia Exp $ +# $NetBSD: NetBSD.mk,v 1.69 2021/11/09 12:04:43 nia Exp $ # # Variable definitions for the NetBSD operating system. @@ -123,17 +123,17 @@ FFLAGS+= -mieee # check for kqueue(2) support, added in NetBSD-1.6J .if exists(/usr/include/sys/event.h) -PKG_HAVE_KQUEUE= # defined +OPSYS_HAS_KQUEUE= # defined .endif # check for eventfd(2) support, added in NetBSD-9.99.x .if exists(/usr/include/sys/eventfd.h) -PKG_HAVE_EVENTFD= # defined +OPSYS_HAS_EVENTFD= # defined .endif # check for timerfd(2) support, added in NetBSD-9.99.x .if exists(/usr/include/sys/timerfd.h) -PKG_HAVE_TIMERFD= # defined +OPSYS_HAS_TIMERFD= # defined .endif # Register support for FORTIFY (with GCC) diff --git a/mk/platform/OpenBSD.mk b/mk/platform/OpenBSD.mk index 818f2df3531..9badf8121dd 100644 --- a/mk/platform/OpenBSD.mk +++ b/mk/platform/OpenBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: OpenBSD.mk,v 1.42 2017/05/31 22:55:01 jlam Exp $ +# $NetBSD: OpenBSD.mk,v 1.43 2021/11/09 12:04:43 nia Exp $ # # Variable definitions for the OpenBSD operating system. @@ -94,7 +94,7 @@ SERIAL_DEVICES?= /dev/null # check for kqueue(2) support, added in OpenBSD-2.9 .if exists(/usr/include/sys/event.h) -PKG_HAVE_KQUEUE= # defined +OPSYS_HAS_KQUEUE= # defined .endif _OPSYS_SUPPORTS_CWRAPPERS= yes diff --git a/mk/platform/README b/mk/platform/README index 330f0162ac7..c5ffe35b3ec 100644 --- a/mk/platform/README +++ b/mk/platform/README @@ -1,4 +1,4 @@ -$NetBSD: README,v 1.6 2017/08/07 23:54:09 maya Exp $ +$NetBSD: README,v 1.7 2021/11/09 12:04:43 nia Exp $ These files contain platform-specific definitions that are used by the pkgsrc infrastructure. @@ -99,7 +99,11 @@ TODO: Document all these variables. SERIAL_DEVICES is list of supported serial devices - PKG_HAVE_KQUEUE is defined if kqueue(2) is supported. + OPSYS_HAS_EVENTFD is defined if eventfd(2) is supported. + + OPSYS_HAS_TIMERFD is defined if timerfd(2) is supported. + + OPSYS_HAS_KQUEUE is defined if kqueue(2) is supported. _OPSYS_CAN_CHECK_SHLIBS is "yes" if "check-shlibs" in check/check-shlibs.mk can be performed. |