pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/sudo



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue May 24 09:47:54 UTC 2022

Modified Files:
        pkgsrc/security/sudo: Makefile

Log Message:
sudo: Use OPSYS_VERSION


To generate a diff of this commit:
cvs rdiff -u -r1.188 -r1.189 pkgsrc/security/sudo/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/sudo/Makefile
diff -u pkgsrc/security/sudo/Makefile:1.188 pkgsrc/security/sudo/Makefile:1.189
--- pkgsrc/security/sudo/Makefile:1.188 Sat May 14 05:40:59 2022
+++ pkgsrc/security/sudo/Makefile       Tue May 24 09:47:54 2022
@@ -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 @@ CONFIGURE_ENV+=               ax_cv_check_cflags___st
 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