diff options
author | jlam <jlam@pkgsrc.org> | 2005-05-24 03:44:04 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-05-24 03:44:04 +0000 |
commit | 80f5031e99c1c6f4ca2689e5d7e8e4ac67696ebc (patch) | |
tree | 5e2bfbc5fd8a708522cfb0400729a62ecdd3a6b8 /converters | |
parent | ddd821887522a4ea8086df036afba72f1d823d49 (diff) | |
download | pkgsrc-80f5031e99c1c6f4ca2689e5d7e8e4ac67696ebc.tar.gz |
Add a new file find-libs.mk that can be included by builtin.mk files
to detect the presence of libraries in the base system.
The input variable is BUILDLINK_FIND_LIBS, which is a list of library
names, e.g. ncurses, iconv, etc., that will be sought in the base
system. BUILDLINK_LIB_FOUND.<lib> is set to "yes" or "no" depending
on the result of the search.
An example use is:
BUILDLINK_FIND_LIBS:= intl iconv
.include "../../mk/buildlink3/find-libs.mk"
# ${BUILDLINK_LIB_FOUND.intl} and ${BUILDLINK_LIB_FOUND.iconv} are now
# either "yes" or "no".
Diffstat (limited to 'converters')
0 files changed, 0 insertions, 0 deletions