pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/AiSSLtelnet The sources assume <malloc.h> exi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7e6ff312c50d
branches: trunk
changeset: 497005:7e6ff312c50d
user: kristerw <kristerw%pkgsrc.org@localhost>
date: Tue Jul 19 04:14:50 2005 +0000
description:
The sources assume <malloc.h> exists. Create a fake one for platforms
that don't have it.
diffstat:
security/AiSSLtelnet/Makefile | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r f072ed17b3ae -r 7e6ff312c50d security/AiSSLtelnet/Makefile
--- a/security/AiSSLtelnet/Makefile Tue Jul 19 04:01:41 2005 +0000
+++ b/security/AiSSLtelnet/Makefile Tue Jul 19 04:14:50 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/01/20 12:25:33 agc Exp $
+# $NetBSD: Makefile,v 1.6 2005/07/19 04:14:50 kristerw Exp $
#
DISTNAME= AiSSLtelnet-0.15
@@ -23,4 +23,12 @@
${INSTALL_DATA} ${WRKSRC}/aicrypto/COPYRIGHT ${WRKSRC}/README \
${WRKSRC}/README-j ${PREFIX}/share/doc/AiSSLtelnet
+# The sources assume <malloc.h> exists. Create a fake one for platforms
+# that don't have it.
+post-wrapper:
+ if ${TEST} ! -f /usr/include/malloc.h; then \
+ ${ECHO} "#include <stdlib.h>" \
+ > ${BUILDLINK_DIR}/include/malloc.h; \
+ fi
+
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index