diff options
author | alex <alex@FreeBSD.org> | 2002-09-24 11:54:26 +0000 |
---|---|---|
committer | alex <alex@FreeBSD.org> | 2002-09-24 11:54:26 +0000 |
commit | de13710c70a969d6ba9dcef7dd97945ccb982937 (patch) | |
tree | ef1b60880a8972e59a74ffdd93b0f26806ff6c72 /x11/xco | |
parent | 1eb703304b8ab05ff58b11605388850c3a627a4d (diff) | |
download | FreeBSD-ports-de13710c70a969d6ba9dcef7dd97945ccb982937.zip FreeBSD-ports-de13710c70a969d6ba9dcef7dd97945ccb982937.tar.gz |
Don't declare malloc(), it's already in stdlib.h
Submitted by: bento
Diffstat (limited to 'x11/xco')
-rw-r--r-- | x11/xco/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/x11/xco/Makefile b/x11/xco/Makefile index 5618c0e..1c39d84 100644 --- a/x11/xco/Makefile +++ b/x11/xco/Makefile @@ -14,10 +14,15 @@ DISTNAME= ${PORTNAME} MAINTAINER= taoka@FreeBSD.org USE_IMAKE= yes +USE_REINPLACE= yes MAN1= xco.1 MANCOMPRESSED= yes DOCDIR= ${PREFIX}/share/doc/xco +post-patch: + @${REINPLACE_CMD} -e 's/extern char \*malloc();//g' \ + ${WRKSRC}/xco.c ${WRKSRC}/xargs.c + post-install: @${MKDIR} ${DOCDIR} @${INSTALL_DATA} ${FILESDIR}/copyright ${DOCDIR} |