diff options
author | tv <tv@pkgsrc.org> | 2004-07-31 05:31:57 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-07-31 05:31:57 +0000 |
commit | 87f76f2592641ece0d314d6ccb89598d57048259 (patch) | |
tree | f847f7ced467f6d82771ad0f69ce5c01a96e60cf /security | |
parent | 440f54314c8871b0cf8920b01603850480764b67 (diff) | |
download | pkgsrc-87f76f2592641ece0d314d6ccb89598d57048259.tar.gz |
Detect builtin libdes. (NetBSD 2.0, for instance, has one.)
Diffstat (limited to 'security')
-rw-r--r-- | security/libdes/builtin.mk | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/security/libdes/builtin.mk b/security/libdes/builtin.mk new file mode 100644 index 00000000000..b8468f41bde --- /dev/null +++ b/security/libdes/builtin.mk @@ -0,0 +1,18 @@ +# $NetBSD: builtin.mk,v 1.1 2004/07/31 05:31:57 tv Exp $ + +.if !defined(IS_BUILTIN.libdes) +IS_BUILTIN.libdes= no +. if exists(/usr/include/libdes.h) +IS_BUILTIN.libdes= yes +. elif exists(/usr/include/des.h) + +IS_BUILTIN.libdes= yes +BUILDLINK_TARGETS+= buildlink-libdes-libdes-h + +buildlink-libdes-libdes-h: + ${LN} -s -f /usr/include/des.h ${BUILDLINK_DIR}/include/libdes.h + +. endif +.endif # IS_BUILTIN.libdes + +USE_BUILTIN.libdes?= ${IS_BUILTIN.libdes} |