Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2020 04:06:21 +0000 (UTC)
From:      Marcelo Araujo <araujo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r521897 - in head/devel/coccinelle: . files
Message-ID:  <202001030406.00346LGe015346@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: araujo
Date: Fri Jan  3 04:06:21 2020
New Revision: 521897
URL: https://svnweb.freebsd.org/changeset/ports/521897

Log:
  - Forgotten to add the patches on files directory at r521896.
  - Bump PORTREVISION.
  
  Reported by:	kevans

Added:
  head/devel/coccinelle/files/
  head/devel/coccinelle/files/patch-bundles_pyml_Makefile   (contents, props changed)
  head/devel/coccinelle/files/patch-bundles_pyml_pyml-current_pyml__arch__freebsd.ml   (contents, props changed)
Modified:
  head/devel/coccinelle/Makefile

Modified: head/devel/coccinelle/Makefile
==============================================================================
--- head/devel/coccinelle/Makefile	Fri Jan  3 03:58:57 2020	(r521896)
+++ head/devel/coccinelle/Makefile	Fri Jan  3 04:06:21 2020	(r521897)
@@ -3,6 +3,7 @@
 
 PORTNAME=	coccinelle
 PORTVERSION=	1.0.7
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://coccinelle.lip6.fr/distrib/
 

Added: head/devel/coccinelle/files/patch-bundles_pyml_Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/coccinelle/files/patch-bundles_pyml_Makefile	Fri Jan  3 04:06:21 2020	(r521897)
@@ -0,0 +1,26 @@
+--- bundles/pyml/Makefile.orig	2018-08-31 14:36:59 UTC
++++ bundles/pyml/Makefile
+@@ -21,16 +21,18 @@ CLEANOTHERS=pyml-current/generate pyml-current/generat
+ 	pyml-current/pyml.cma pyml-current/pyml.cmxa \
+ 	pyml-current/dllpyml_stubs.so
+ 
+-ARCH:=$(shell uname)
++UNAME_ARCH:=$(shell uname)
+ 
+-ifeq ($(ARCH),Linux)
++ifeq ($(UNAME_ARCH),Linux)
+ 	PYML_ARCH=pyml_arch_linux.ml
+-else ifeq ($(ARCH),Darwin)
++else ifeq ($(UNAME_ARCH),Darwin)
+ 	PYML_ARCH=pyml_arch_darwin.ml
+-else ifeq ($(findstring CYGWIN,$(ARCH)),CYGWIN)
++else ifeq ($(UNAME_ARCH),FreeBSD)
++	PYML_ARCH=pyml_arch_freebsd.ml
++else ifeq ($(findstring CYGWIN,$(UNAME_ARCH)),CYGWIN)
+ 	PYML_ARCH=pyml_arch_cygwin.ml
+ else
+-	$(error Unsupported OS $(ARCH)
++	$(error Unsupported OS $(UNAME_ARCH))
+ endif
+ 
+ include ../Makefile.bundles

Added: head/devel/coccinelle/files/patch-bundles_pyml_pyml-current_pyml__arch__freebsd.ml
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/coccinelle/files/patch-bundles_pyml_pyml-current_pyml__arch__freebsd.ml	Fri Jan  3 04:06:21 2020	(r521897)
@@ -0,0 +1,15 @@
+--- bundles/pyml/pyml-current/pyml_arch_freebsd.ml.orig	2020-01-03 01:59:43 UTC
++++ bundles/pyml/pyml-current/pyml_arch_freebsd.ml
+@@ -0,0 +1,12 @@
++let library_patterns: (int -> int -> string, unit, string) format list =
++  ["libpython%d.%dm.so"; "libpython%d.%d.so"]
++
++let library_suffix = ".so"
++
++let ensure_executable_suffix executable = executable
++
++let which = "which"
++
++external fd_of_int: int -> Unix.file_descr = "%identity"
++
++let path_separator = ":"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001030406.00346LGe015346>