blob: 174f1474989bf65aa270b97563748e747ba4cab9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# $NetBSD: builtin.mk,v 1.1 2004/07/31 22:13:38 salo Exp $
#
_MAGIC_H= /usr/include/magic.h
.if !defined(IS_BUILTIN.file)
IS_BUILTIN.file= no
. if exists(${_MAGIC_H})
IS_BUILTIN.file!= \
if ${GREP} -q "magic_file" ${_MAGIC_H}; then \
${ECHO} "yes"; \
else \
${ECHO} "no"; \
fi
. endif
BUILDLINK_VARS+= IS_BUILTIN.file
.endif # IS_BUILTIN.file
.if !defined(USE_BUILTIN.file)
USE_BUILTIN.file?= ${IS_BUILTIN.file}
PREFER.file?= pkgsrc
.endif # USE_BUILTIN.file
|