| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: bsd.buildlink3.mk,v 1.207 2010/04/28 08:15:55 obache Exp $ | | 1 | # $NetBSD: bsd.buildlink3.mk,v 1.208 2010/05/02 18:32:29 wiz Exp $ |
2 | # | | 2 | # |
3 | # Copyright (c) 2004 The NetBSD Foundation, Inc. | | 3 | # Copyright (c) 2004 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 |
| @@ -272,27 +272,27 @@ ${_depmethod_}+= ${_BLNK_ADD_TO.${_depme | | | @@ -272,27 +272,27 @@ ${_depmethod_}+= ${_BLNK_ADD_TO.${_depme |
272 | # exist before they're added to the search | | 272 | # exist before they're added to the search |
273 | # paths. | | 273 | # paths. |
274 | # | | 274 | # |
275 | .for _pkg_ in ${_BLNK_PACKAGES} | | 275 | .for _pkg_ in ${_BLNK_PACKAGES} |
276 | # | | 276 | # |
277 | # If we're using the built-in package, then provide sensible defaults. | | 277 | # If we're using the built-in package, then provide sensible defaults. |
278 | # | | 278 | # |
279 | USE_BUILTIN.${_pkg_}?= no | | 279 | USE_BUILTIN.${_pkg_}?= no |
280 | . if !empty(USE_BUILTIN.${_pkg_}:M[yY][eE][sS]) | | 280 | . if !empty(USE_BUILTIN.${_pkg_}:M[yY][eE][sS]) |
281 | _BLNK_PKG_DBDIR.${_pkg_}?= _BLNK_PKG_DBDIR.${_pkg_}_not_found | | 281 | _BLNK_PKG_DBDIR.${_pkg_}?= _BLNK_PKG_DBDIR.${_pkg_}_not_found |
282 | _BLNK_PKG_INFO.${_pkg_}?= ${TRUE} | | 282 | _BLNK_PKG_INFO.${_pkg_}?= ${TRUE} |
283 | BUILDLINK_PKGNAME.${_pkg_}?= ${_pkg_} | | 283 | BUILDLINK_PKGNAME.${_pkg_}?= ${_pkg_} |
284 | BUILDLINK_IS_DEPOT.${_pkg_}?= no | | 284 | BUILDLINK_IS_DEPOT.${_pkg_}?= no |
285 | # Usual systems has buitin packages in /usr | | 285 | # Usual systems has builtin packages in /usr |
286 | . if exists(/usr) | | 286 | . if exists(/usr) |
287 | BUILDLINK_PREFIX.${_pkg_}?= /usr | | 287 | BUILDLINK_PREFIX.${_pkg_}?= /usr |
288 | # Haiku OS has posix packages in /boot/common | | 288 | # Haiku OS has posix packages in /boot/common |
289 | . elif exists(/boot/common) | | 289 | . elif exists(/boot/common) |
290 | BUILDLINK_PREFIX.${_pkg_}?= /boot/common | | 290 | BUILDLINK_PREFIX.${_pkg_}?= /boot/common |
291 | . else | | 291 | . else |
292 | # XXX: elsewhere? | | 292 | # XXX: elsewhere? |
293 | BUILDLINK_PREFIX.${_pkg_}?= / | | 293 | BUILDLINK_PREFIX.${_pkg_}?= / |
294 | . endif | | 294 | . endif |
295 | . endif | | 295 | . endif |
296 | # | | 296 | # |
297 | # Set a default for _BLNK_PKG_DBDIR.<pkg>, which is the directory | | 297 | # Set a default for _BLNK_PKG_DBDIR.<pkg>, which is the directory |
298 | # containing the package metadata. | | 298 | # containing the package metadata. |