pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc mk: For consistency, rename PKG_HAS_ to OPSYS_HAVE_.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/75d679a72b63
branches:  trunk
changeset: 769185:75d679a72b63
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Nov 09 12:04:43 2021 +0000

description:
mk: For consistency, rename PKG_HAS_ to OPSYS_HAVE_.

Requested by jperkin.

diffstat:

 comms/asterisk13/Makefile      |  6 +++---
 comms/asterisk16/Makefile      |  6 +++---
 comms/asterisk18/Makefile      |  6 +++---
 devel/libepoll-shim/Makefile   |  8 ++++----
 mail/dovecot2/options.mk       |  4 ++--
 mk/platform/Bitrig.mk          |  4 ++--
 mk/platform/Darwin.mk          |  4 ++--
 mk/platform/DragonFly.mk       |  4 ++--
 mk/platform/FreeBSD.mk         |  4 ++--
 mk/platform/Linux.mk           |  6 +++---
 mk/platform/MidnightBSD.mk     |  4 ++--
 mk/platform/MirBSD.mk          |  4 ++--
 mk/platform/NetBSD.mk          |  8 ++++----
 mk/platform/OpenBSD.mk         |  4 ++--
 mk/platform/README             |  8 ++++++--
 sysutils/p5-IO-KQueue/Makefile |  4 ++--
 x11/xf86-video-intel/Makefile  |  4 ++--
 17 files changed, 46 insertions(+), 42 deletions(-)

diffs (truncated from 353 to 300 lines):

diff -r f24f07f744b3 -r 75d679a72b63 comms/asterisk13/Makefile
--- a/comms/asterisk13/Makefile Tue Nov 09 11:56:24 2021 +0000
+++ b/comms/asterisk13/Makefile Tue Nov 09 12:04:43 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.74 2021/11/09 11:11:08 nia Exp $
+# $NetBSD: Makefile,v 1.75 2021/11/09 12:04:43 nia Exp $
 #
 # NOTE: when updating this package, there are two places that sound
 #       tarballs need to be checked; look in ${WRKSRC}/sounds/Makefile
@@ -117,12 +117,12 @@
 .endif
 
 PLIST_VARS+=   kqueue
-.if defined(PKG_HAVE_KQUEUE)
+.if defined(OPSYS_HAS_KQUEUE)
 PLIST.kqueue=  yes
 .endif
 
 PLIST_VARS+=   timerfd
-.if defined(PKG_HAVE_TIMERFD)
+.if defined(OPSYS_HAS_TIMERFD)
 PLIST.timerfd= yes
 .endif
 
diff -r f24f07f744b3 -r 75d679a72b63 comms/asterisk16/Makefile
--- a/comms/asterisk16/Makefile Tue Nov 09 11:56:24 2021 +0000
+++ b/comms/asterisk16/Makefile Tue Nov 09 12:04:43 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.83 2021/11/09 11:11:08 nia Exp $
+# $NetBSD: Makefile,v 1.84 2021/11/09 12:04:43 nia Exp $
 #
 # NOTE: when updating this package, there are two places that sound
 #       tarballs need to be checked; look in ${WRKSRC}/sounds/Makefile
@@ -120,7 +120,7 @@
 .endif
 
 PLIST_VARS+=   kqueue
-.if defined(PKG_HAVE_KQUEUE)
+.if defined(OPSYS_HAS_KQUEUE)
 PLIST.kqueue=  yes
 .endif
 
@@ -141,7 +141,7 @@
 .endif
 
 PLIST_VARS+=   timerfd
-.if defined(PKG_HAVE_TIMERFD)
+.if defined(OPSYS_HAS_TIMERFD)
 PLIST.timerfd= yes
 .endif
 
diff -r f24f07f744b3 -r 75d679a72b63 comms/asterisk18/Makefile
--- a/comms/asterisk18/Makefile Tue Nov 09 11:56:24 2021 +0000
+++ b/comms/asterisk18/Makefile Tue Nov 09 12:04:43 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.134 2021/11/09 11:11:08 nia Exp $
+# $NetBSD: Makefile,v 1.135 2021/11/09 12:04:43 nia Exp $
 #
 # NOTE: when updating this package, there are two places that sound
 #       tarballs need to be checked; look in ${WRKSRC}/sounds/Makefile
@@ -119,7 +119,7 @@
 .endif
 
 PLIST_VARS+=   kqueue
-.if defined(PKG_HAVE_KQUEUE)
+.if defined(OPSYS_HAS_KQUEUE)
 PLIST.kqueue=  yes
 .endif
 
@@ -140,7 +140,7 @@
 .endif
 
 PLIST_VARS+=   timerfd
-.if defined(PKG_HAVE_TIMERFD)
+.if defined(OPSYS_HAS_TIMERFD)
 PLIST.timerfd= yes
 .endif
 
diff -r f24f07f744b3 -r 75d679a72b63 devel/libepoll-shim/Makefile
--- a/devel/libepoll-shim/Makefile      Tue Nov 09 11:56:24 2021 +0000
+++ b/devel/libepoll-shim/Makefile      Tue Nov 09 12:04:43 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2021/11/09 11:09:04 nia Exp $
+# $NetBSD: Makefile,v 1.6 2021/11/09 12:04:43 nia Exp $
 
 GITHUB_PROJECT=        epoll-shim
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -20,15 +20,15 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-.if !defined(PKG_HAVE_KQUEUE)
+.if !defined(OPSYS_HAS_KQUEUE)
 PKG_SKIP_REASON+=      "Requires a kqueue implementation"
 .endif
 
 PLIST_VARS+=   eventfd timerfd
-.if !defined(PKG_HAVE_EVENTFD)
+.if !defined(OPSYS_HAS_EVENTFD)
 PLIST.eventfd= YES
 .endif
-.if !defined(PKG_HAVE_TIMERFD)
+.if !defined(OPSYS_HAS_TIMERFD)
 PLIST.timerfd= YES
 .endif
 
diff -r f24f07f744b3 -r 75d679a72b63 mail/dovecot2/options.mk
--- a/mail/dovecot2/options.mk  Tue Nov 09 11:56:24 2021 +0000
+++ b/mail/dovecot2/options.mk  Tue Nov 09 12:04:43 2021 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: options.mk,v 1.13 2020/01/25 10:45:11 jperkin Exp $
+# $NetBSD: options.mk,v 1.14 2021/11/09 12:04:43 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.dovecot
 PKG_SUPPORTED_OPTIONS= kqueue pam ssl tcpwrappers
 PKG_SUGGESTED_OPTIONS= pam ssl tcpwrappers
 
-.if defined(PKG_HAVE_KQUEUE)
+.if defined(OPSYS_HAS_KQUEUE)
 PKG_SUGGESTED_OPTIONS+=        kqueue
 .endif
 PLIST_VARS+=           ssl tcpwrappers
diff -r f24f07f744b3 -r 75d679a72b63 mk/platform/Bitrig.mk
--- a/mk/platform/Bitrig.mk     Tue Nov 09 11:56:24 2021 +0000
+++ b/mk/platform/Bitrig.mk     Tue Nov 09 12:04:43 2021 +0000
@@ -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 @@
 SERIAL_DEVICES?=       /dev/null
 .endif
 
-PKG_HAVE_KQUEUE=       # defined
+OPSYS_HAS_KQUEUE=      # defined
 
 _OPSYS_CAN_CHECK_SHLIBS=       no
 
diff -r f24f07f744b3 -r 75d679a72b63 mk/platform/Darwin.mk
--- a/mk/platform/Darwin.mk     Tue Nov 09 11:56:24 2021 +0000
+++ b/mk/platform/Darwin.mk     Tue Nov 09 12:04:43 2021 +0000
@@ -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 @@
 
 # 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 -r f24f07f744b3 -r 75d679a72b63 mk/platform/DragonFly.mk
--- a/mk/platform/DragonFly.mk  Tue Nov 09 11:56:24 2021 +0000
+++ b/mk/platform/DragonFly.mk  Tue Nov 09 12:04:43 2021 +0000
@@ -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 @@
 
 # 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 -r f24f07f744b3 -r 75d679a72b63 mk/platform/FreeBSD.mk
--- a/mk/platform/FreeBSD.mk    Tue Nov 09 11:56:24 2021 +0000
+++ b/mk/platform/FreeBSD.mk    Tue Nov 09 12:04:43 2021 +0000
@@ -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 @@
 
 # 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 -r f24f07f744b3 -r 75d679a72b63 mk/platform/Linux.mk
--- a/mk/platform/Linux.mk      Tue Nov 09 11:56:24 2021 +0000
+++ b/mk/platform/Linux.mk      Tue Nov 09 12:04:43 2021 +0000
@@ -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 @@
 MAKE_ENV+=     NOGCCERROR=true
 .endif
 
-PKG_HAVE_EVENTFD=      # defined
-PKG_HAVE_TIMERFD=      # defined
+OPSYS_HAS_EVENTFD=     # defined
+OPSYS_HAS_TIMERFD=     # defined
diff -r f24f07f744b3 -r 75d679a72b63 mk/platform/MidnightBSD.mk
--- a/mk/platform/MidnightBSD.mk        Tue Nov 09 11:56:24 2021 +0000
+++ b/mk/platform/MidnightBSD.mk        Tue Nov 09 12:04:43 2021 +0000
@@ -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 @@
 
 # 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 -r f24f07f744b3 -r 75d679a72b63 mk/platform/MirBSD.mk
--- a/mk/platform/MirBSD.mk     Tue Nov 09 11:56:24 2021 +0000
+++ b/mk/platform/MirBSD.mk     Tue Nov 09 12:04:43 2021 +0000
@@ -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 @@
 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 -r f24f07f744b3 -r 75d679a72b63 mk/platform/NetBSD.mk
--- a/mk/platform/NetBSD.mk     Tue Nov 09 11:56:24 2021 +0000
+++ b/mk/platform/NetBSD.mk     Tue Nov 09 12:04:43 2021 +0000
@@ -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 @@
 
 # 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 -r f24f07f744b3 -r 75d679a72b63 mk/platform/OpenBSD.mk
--- a/mk/platform/OpenBSD.mk    Tue Nov 09 11:56:24 2021 +0000
+++ b/mk/platform/OpenBSD.mk    Tue Nov 09 12:04:43 2021 +0000
@@ -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 @@
 
 # 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 -r f24f07f744b3 -r 75d679a72b63 mk/platform/README
--- a/mk/platform/README        Tue Nov 09 11:56:24 2021 +0000
+++ b/mk/platform/README        Tue Nov 09 12:04:43 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: README,v 1.6 2017/08/07 23:54:09 maya Exp $



Home | Main Index | Thread Index | Old Index