pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/openpam openpam/builtin.mk: also set -DNO_STA...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9663e80f4cf5
branches:  trunk
changeset: 440990:9663e80f4cf5
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Fri Oct 23 09:16:05 2020 +0000

description:
openpam/builtin.mk: also set -DNO_STATIC_MODULES in CFLAGS for NetBSD

Not all packages respect CPPFLAGS. This will allow to remove
-DNO_STATIC_MODULES hacks in various places.

diffstat:

 security/openpam/builtin.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r 2ea67db6d223 -r 9663e80f4cf5 security/openpam/builtin.mk
--- a/security/openpam/builtin.mk       Fri Oct 23 07:23:35 2020 +0000
+++ b/security/openpam/builtin.mk       Fri Oct 23 09:16:05 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.12 2020/04/28 23:01:26 riastradh Exp $
+# $NetBSD: builtin.mk,v 1.13 2020/10/23 09:16:05 tnn Exp $
 
 BUILTIN_PKG:=  openpam
 
@@ -62,4 +62,5 @@
 
 .if !empty(USE_BUILTIN.openpam:M[yY][eE][sS])
 CPPFLAGS.NetBSD+=      -DNO_STATIC_MODULES
+CFLAGS.NetBSD+=                -DNO_STATIC_MODULES
 .endif



Home | Main Index | Thread Index | Old Index