aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11/xco/Makefile5
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}