aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2013-01-16 19:38:54 +0000
committerPawel Pekala <pawel@FreeBSD.org>2013-01-16 19:38:54 +0000
commit9d84f7f209609596983b657ce174936c8a3cdd02 (patch)
tree9bae9f5367766424962953637e5893b7ceb34c69 /devel
parentba440934e64ea1fd6cbeef6a4e467bd78944e9c2 (diff)
downloadports-9d84f7f209609596983b657ce174936c8a3cdd02.tar.gz
ports-9d84f7f209609596983b657ce174936c8a3cdd02.zip
Fix build with clang
PR: ports/174744 Submitted by: myself Approved by: maintainer timeout (2 weeks+)
Notes
Notes: svn path=/head/; revision=310519
Diffstat (limited to 'devel')
-rw-r--r--devel/coccinelle/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/devel/coccinelle/Makefile b/devel/coccinelle/Makefile
index 1568f857577b..b3a3be5b6064 100644
--- a/devel/coccinelle/Makefile
+++ b/devel/coccinelle/Makefile
@@ -1,6 +1,4 @@
-# Ports collection makefile for: coccinnelle
-# Date created: Sep 10, 2010
-# Whom: Andriy Gapon
+# Created by: Andriy Gapon
# $FreeBSD$
PORTNAME= coccinelle
@@ -20,4 +18,8 @@ USE_OCAML= 3.0+
MAN1= spatch.1
+post-patch:
+ @${REINPLACE_CMD} 's|CAMLreturn0|return 0|' \
+ ${WRKSRC}/pycaml/pycaml_ml.c
+
.include <bsd.port.mk>