diff options
author | alex <alex@FreeBSD.org> | 2002-09-24 19:54:26 +0800 |
---|---|---|
committer | alex <alex@FreeBSD.org> | 2002-09-24 19:54:26 +0800 |
commit | de13710c70a969d6ba9dcef7dd97945ccb982937 (patch) | |
tree | ef1b60880a8972e59a74ffdd93b0f26806ff6c72 /x11/xco | |
parent | 1eb703304b8ab05ff58b11605388850c3a627a4d (diff) | |
download | freebsd-ports-gnome-de13710c70a969d6ba9dcef7dd97945ccb982937.tar.gz freebsd-ports-gnome-de13710c70a969d6ba9dcef7dd97945ccb982937.tar.zst freebsd-ports-gnome-de13710c70a969d6ba9dcef7dd97945ccb982937.zip |
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 5618c0e3fcfd..1c39d84d0b89 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} |