diff options
author | pawel <pawel@FreeBSD.org> | 2013-01-17 03:38:54 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2013-01-17 03:38:54 +0800 |
commit | 2719224a203d628bf05d32a2ed99950b7261b97f (patch) | |
tree | 9bae9f5367766424962953637e5893b7ceb34c69 /devel/coccinelle | |
parent | ed271be814b226512ff0f2e8222f2c6025fae98d (diff) | |
download | freebsd-ports-gnome-2719224a203d628bf05d32a2ed99950b7261b97f.tar.gz freebsd-ports-gnome-2719224a203d628bf05d32a2ed99950b7261b97f.tar.zst freebsd-ports-gnome-2719224a203d628bf05d32a2ed99950b7261b97f.zip |
Fix build with clang
PR: ports/174744
Submitted by: myself
Approved by: maintainer timeout (2 weeks+)
Diffstat (limited to 'devel/coccinelle')
-rw-r--r-- | devel/coccinelle/Makefile | 8 |
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> |