pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/sudo sudo: Use OPSYS_VERSION
details: https://anonhg.NetBSD.org/pkgsrc/rev/19e139d662fa
branches: trunk
changeset: 379847:19e139d662fa
user: nia <nia%pkgsrc.org@localhost>
date: Tue May 24 09:47:54 2022 +0000
description:
sudo: Use OPSYS_VERSION
diffstat:
security/sudo/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 9414fdccf080 -r 19e139d662fa security/sudo/Makefile
--- a/security/sudo/Makefile Tue May 24 09:46:56 2022 +0000
+++ b/security/sudo/Makefile Tue May 24 09:47:54 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.188 2022/05/14 05:40:59 adam Exp $
+# $NetBSD: Makefile,v 1.189 2022/05/24 09:47:54 nia Exp $
DISTNAME= sudo-1.9.10
CATEGORIES= security
@@ -41,7 +41,7 @@
PLIST.noexec= yes
.endif
-.if !empty(MACHINE_PLATFORM:MNetBSD-[7-9].*-*)
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} > 070000
CFLAGS+= -D_OPENBSD_SOURCE=1
.endif
.if !empty(MACHINE_PLATFORM:MNetBSD-[5-6].*-*)
Home |
Main Index |
Thread Index |
Old Index