1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

s/malloc.h/stdlib.h/ to fix build on -CURRENT.

Submitted by:	Juan Salaverria <rael@vectorstar.net>
This commit is contained in:
Joe Marcus Clarke 2002-10-17 01:27:54 +00:00
parent a195d38572
commit 705a9d2a62
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68175

View File

@ -32,5 +32,7 @@ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|malloc\.h|stdlib.h|g' \
${WRKSRC}/gnome-pty-helper.c
.include <bsd.port.mk>