svn commit: r310519 - head/devel/coccinelle

Pawel Pekala pawel at FreeBSD.org
Wed Jan 16 19:38:55 UTC 2013


Author: pawel
Date: Wed Jan 16 19:38:54 2013
New Revision: 310519
URL: http://svnweb.freebsd.org/changeset/ports/310519

Log:
  Fix build with clang
  
  PR:		ports/174744
  Submitted by:	myself
  Approved by:	maintainer timeout (2 weeks+)

Modified:
  head/devel/coccinelle/Makefile

Modified: head/devel/coccinelle/Makefile
==============================================================================
--- head/devel/coccinelle/Makefile	Wed Jan 16 19:37:20 2013	(r310518)
+++ head/devel/coccinelle/Makefile	Wed Jan 16 19:38:54 2013	(r310519)
@@ -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>


More information about the svn-ports-head mailing list