Sat Jan 2 12:08:03 2021 UTC ()
(buildlink3/find-headers.mk)  correct typo


(mef)
diff -r1.3 -r1.4 pkgsrc/mk/buildlink3/find-headers.mk

cvs diff -r1.3 -r1.4 pkgsrc/mk/buildlink3/find-headers.mk (expand / switch to unified diff)

--- pkgsrc/mk/buildlink3/find-headers.mk 2018/08/22 20:48:36 1.3
+++ pkgsrc/mk/buildlink3/find-headers.mk 2021/01/02 12:08:03 1.4
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: find-headers.mk,v 1.3 2018/08/22 20:48:36 maya Exp $ 1# $NetBSD: find-headers.mk,v 1.4 2021/01/02 12:08:03 mef Exp $
2# 2#
3# Copyright (c) 2005 The NetBSD Foundation, Inc. 3# Copyright (c) 2005 The NetBSD Foundation, Inc.
4# All rights reserved. 4# All rights reserved.
5# 5#
6# This code is derived from software contributed to The NetBSD Foundation 6# This code is derived from software contributed to The NetBSD Foundation
7# by Johnny C. Lam. 7# by Johnny C. Lam.
8# 8#
9# Redistribution and use in source and binary forms, with or without 9# Redistribution and use in source and binary forms, with or without
10# modification, are permitted provided that the following conditions 10# modification, are permitted provided that the following conditions
11# are met: 11# are met:
12# 1. Redistributions of source code must retain the above copyright 12# 1. Redistributions of source code must retain the above copyright
13# notice, this list of conditions and the following disclaimer. 13# notice, this list of conditions and the following disclaimer.
14# 2. Redistributions in binary form must reproduce the above copyright 14# 2. Redistributions in binary form must reproduce the above copyright
@@ -52,27 +52,27 @@ @@ -52,27 +52,27 @@
52# After including this file, the following variables are defined: 52# After including this file, the following variables are defined:
53# 53#
54# <var> is the first of the header file listed in 54# <var> is the first of the header file listed in
55# ${BUILTIN_FIND_HEADERS.<var>} that is "found" in 55# ${BUILTIN_FIND_HEADERS.<var>} that is "found" in
56# ${BUILTIN_INCLUDE_DIRS}, or else it is "__nonexistent__". 56# ${BUILTIN_INCLUDE_DIRS}, or else it is "__nonexistent__".
57# 57#
58# An example use is: 58# An example use is:
59# 59#
60# BUILTIN_FIND_HEADERS_VAR:= FOO BAR 60# BUILTIN_FIND_HEADERS_VAR:= FOO BAR
61# 61#
62# BUILTIN_FIND_HEADERS.FOO= header1.h header2.h 62# BUILTIN_FIND_HEADERS.FOO= header1.h header2.h
63# BUILTIN_FIND_GREP.FOO= \#define.*FOO 63# BUILTIN_FIND_GREP.FOO= \#define.*FOO
64# 64#
65# BUILTIN_FIND_HEADERS.BAR= header3.h heaer/4.h 65# BUILTIN_FIND_HEADERS.BAR= header3.h header4.h
66# .include "../../mk/buildlink3/builtin-files.mk" 66# .include "../../mk/buildlink3/builtin-files.mk"
67# 67#
68 68
69.if empty(USE_TOOLS:Mecho) 69.if empty(USE_TOOLS:Mecho)
70USE_TOOLS+= echo 70USE_TOOLS+= echo
71.endif 71.endif
72.if empty(USE_TOOLS:Mgrep) 72.if empty(USE_TOOLS:Mgrep)
73USE_TOOLS+= grep 73USE_TOOLS+= grep
74.endif 74.endif
75 75
76BUILTIN_INCLUDE_DIRS?= ${COMPILER_INCLUDE_DIRS} ${"${X11_TYPE:Mnative}":?${X11BASE}/include:} 76BUILTIN_INCLUDE_DIRS?= ${COMPILER_INCLUDE_DIRS} ${"${X11_TYPE:Mnative}":?${X11BASE}/include:}
77 77
78.for _var_ in ${BUILTIN_FIND_HEADERS_VAR} 78.for _var_ in ${BUILTIN_FIND_HEADERS_VAR}