diff options
author | kristerw <kristerw@pkgsrc.org> | 2005-07-19 04:14:50 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2005-07-19 04:14:50 +0000 |
commit | 66c306fb4fcf7c2dcdb43cedcdc216658a17ff03 (patch) | |
tree | 6b835ffe4e9386448e98aa22f3583ef783af1ca7 /security | |
parent | cb8c87a1c0b46e754d981199ec311d1dba334545 (diff) | |
download | pkgsrc-66c306fb4fcf7c2dcdb43cedcdc216658a17ff03.tar.gz |
The sources assume <malloc.h> exists. Create a fake one for platforms
that don't have it.
Diffstat (limited to 'security')
-rw-r--r-- | security/AiSSLtelnet/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/security/AiSSLtelnet/Makefile b/security/AiSSLtelnet/Makefile index ce6fbd70826..f2ac7d7e36b 100644 --- a/security/AiSSLtelnet/Makefile +++ b/security/AiSSLtelnet/Makefile @@ -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 @@ pre-install: ${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" |