aboutsummaryrefslogtreecommitdiff
path: root/x11/xco
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2002-09-24 11:54:26 +0000
committerAlexander Langer <alex@FreeBSD.org>2002-09-24 11:54:26 +0000
commitb52bded1d83eefb39f71c37ac0b53c16c2fb06e3 (patch)
tree363e2364df0e97c7b749072e8355c0bb423d9100 /x11/xco
parent23b3dbea3dbb76d0eb6e354b1a2e8f948fddec33 (diff)
downloadports-b52bded1d83eefb39f71c37ac0b53c16c2fb06e3.tar.gz
ports-b52bded1d83eefb39f71c37ac0b53c16c2fb06e3.zip
Notes
Diffstat (limited to 'x11/xco')
-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}