Source-Changes-HG archive

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

[src/trunk]: src if BSD_MK_COMPAT_FILE is defined, .include it.



details:   https://anonhg.NetBSD.org/src/rev/f226d1780281
branches:  trunk
changeset: 749937:f226d1780281
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Dec 13 09:01:45 2009 +0000

description:
if BSD_MK_COMPAT_FILE is defined, .include it.

diffstat:

 lib/libpam/Makefile.inc    |  7 ++++++-
 libexec/ld.elf_so/Makefile |  7 ++++++-
 share/mk/bsd.own.mk        |  7 ++++++-
 3 files changed, 18 insertions(+), 3 deletions(-)

diffs (55 lines):

diff -r 050d11fbe38d -r f226d1780281 lib/libpam/Makefile.inc
--- a/lib/libpam/Makefile.inc   Sun Dec 13 08:52:38 2009 +0000
+++ b/lib/libpam/Makefile.inc   Sun Dec 13 09:01:45 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.11 2009/12/13 08:25:20 mrg Exp $
+# $NetBSD: Makefile.inc,v 1.12 2009/12/13 09:01:45 mrg Exp $
 # Copyright 1998 Juniper Networks, Inc.
 # All rights reserved.
 #
@@ -25,6 +25,11 @@
 #
 # $FreeBSD: src/lib/libpam/Makefile.inc,v 1.15 2004/03/15 13:23:20 des Exp $
 
+# This needs to be before bsd.init.mk
+.if defined(BSD_MK_COMPAT_FILE)
+.include <${BSD_MK_COMPAT_FILE}>
+.endif
+
 USE_FORT?= yes # network client software *and* authentication software
 
 .if defined(MLIBDIR)
diff -r 050d11fbe38d -r f226d1780281 libexec/ld.elf_so/Makefile
--- a/libexec/ld.elf_so/Makefile        Sun Dec 13 08:52:38 2009 +0000
+++ b/libexec/ld.elf_so/Makefile        Sun Dec 13 09:01:45 2009 +0000
@@ -1,10 +1,15 @@
-#      $NetBSD: Makefile,v 1.91 2009/12/13 08:25:20 mrg Exp $
+#      $NetBSD: Makefile,v 1.92 2009/12/13 09:01:45 mrg Exp $
 #
 # NOTE: when changing ld.so, ensure that ldd still compiles.
 #
 
 WARNS?=4
 
+# This needs to be before bsd.init.mk
+.if defined(BSD_MK_COMPAT_FILE)
+.include <${BSD_MK_COMPAT_FILE}>
+.endif
+
 # We are not building this with PIE
 PIE_CFLAGS=
 PIE_LDFLAGS=
diff -r 050d11fbe38d -r f226d1780281 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Sun Dec 13 08:52:38 2009 +0000
+++ b/share/mk/bsd.own.mk       Sun Dec 13 09:01:45 2009 +0000
@@ -1,4 +1,9 @@
-#      $NetBSD: bsd.own.mk,v 1.610 2009/12/13 03:06:22 nakayama Exp $
+#      $NetBSD: bsd.own.mk,v 1.611 2009/12/13 09:01:46 mrg Exp $
+
+# This needs to be before bsd.init.mk
+.if defined(BSD_MK_COMPAT_FILE)
+.include <${BSD_MK_COMPAT_FILE}>
+.endif
 
 .if !defined(_BSD_OWN_MK_)
 _BSD_OWN_MK_=1



Home | Main Index | Thread Index | Old Index