summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-09-29 07:55:30 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-09-29 07:55:30 +0000
commitbfa1eb4481fa7991254f3ca812255aded3cb7e68 (patch)
tree17d9b307ce0b1967bd3826d39e70f186f25b2b9f /editors
parentFix build [1] and add missing manpage (diff)
Fix build (remove bogus *alloc declarations)
Submitted by: Adam Weinberger <adam@vectors.cx> PR: ports/41101
Notes
Notes: svn path=/head/; revision=67234
Diffstat (limited to 'editors')
-rw-r--r--editors/xed/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/editors/xed/Makefile b/editors/xed/Makefile
index 850b8fbf39e8..455c1258a50b 100644
--- a/editors/xed/Makefile
+++ b/editors/xed/Makefile
@@ -17,6 +17,10 @@ MAINTAINER= shanee@augusta.de
USE_IMAKE= yes
USE_XPM= yes
+USE_REINPLACE=yes
MAN1= xed.1
+pre-build:
+ @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|extern char \*malloc();|/\* extern char \*malloc(); \*/|g'
.include <bsd.port.mk>