pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/libdes Detect builtin libdes. (NetBSD 2.0, f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/319b35463001
branches:  trunk
changeset: 478853:319b35463001
user:      tv <tv%pkgsrc.org@localhost>
date:      Sat Jul 31 05:31:57 2004 +0000

description:
Detect builtin libdes.  (NetBSD 2.0, for instance, has one.)

diffstat:

 security/libdes/builtin.mk |  18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diffs (22 lines):

diff -r eb9ab6638787 -r 319b35463001 security/libdes/builtin.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libdes/builtin.mk        Sat Jul 31 05:31:57 2004 +0000
@@ -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}



Home | Main Index | Thread Index | Old Index