pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/xtrs The sources assume <malloc.h> exists. ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3f105c729e51
branches: trunk
changeset: 496974:3f105c729e51
user: kristerw <kristerw%pkgsrc.org@localhost>
date: Mon Jul 18 00:50:21 2005 +0000
description:
The sources assume <malloc.h> exists. Create a fake one for platforms
that don't have it.
diffstat:
emulators/xtrs/Makefile | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 5c0996eee457 -r 3f105c729e51 emulators/xtrs/Makefile
--- a/emulators/xtrs/Makefile Mon Jul 18 00:46:18 2005 +0000
+++ b/emulators/xtrs/Makefile Mon Jul 18 00:50:21 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/06/01 18:02:48 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2005/07/18 00:50:21 kristerw Exp $
#
DISTNAME= xtrs-4.9
@@ -28,6 +28,14 @@
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xtrs
${INSTALL_DATA} ${WRKSRC}/xtrsrom4p.README ${PREFIX}/share/doc/xtrs
+# 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 "../../devel/ncurses/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index