Index: head/devel/coccinelle/Makefile =================================================================== --- head/devel/coccinelle/Makefile (revision 521896) +++ head/devel/coccinelle/Makefile (revision 521897) @@ -1,36 +1,37 @@ # Created by: Andriy Gapon # $FreeBSD$ PORTNAME= coccinelle PORTVERSION= 1.0.7 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://coccinelle.lip6.fr/distrib/ MAINTAINER= araujo@FreeBSD.org COMMENT= Program matching and transformation engine LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/license.txt BUILD_DEPENDS= menhir:devel/menhir \ ocaml-parmap>=0:devel/ocaml-parmap \ ocaml-pcre>=0:devel/ocaml-pcre LIB_DEPENDS= libpcre.so:devel/pcre USE_OCAML= 3.0+ USE_OCAML_CAMLP4=yes USES= autoreconf gmake perl5 pkgconfig:build python shebangfix BINARY_ALIAS= make=${LOCALBASE}/bin/gmake SHEBANG_FILES= tools/pycocci USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ENV= PYTHON="${PYTHON_CMD}" PYVER="${PYTHON_VER}" MAKE_ARGS= PYTHON_VERSION="${PYTHON_VER}" post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/spatch ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/spgen ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/coccinelle/*.so .include Index: head/devel/coccinelle/files/patch-bundles_pyml_Makefile =================================================================== --- head/devel/coccinelle/files/patch-bundles_pyml_Makefile (nonexistent) +++ head/devel/coccinelle/files/patch-bundles_pyml_Makefile (revision 521897) @@ -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 Property changes on: head/devel/coccinelle/files/patch-bundles_pyml_Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/coccinelle/files/patch-bundles_pyml_pyml-current_pyml__arch__freebsd.ml =================================================================== --- head/devel/coccinelle/files/patch-bundles_pyml_pyml-current_pyml__arch__freebsd.ml (nonexistent) +++ head/devel/coccinelle/files/patch-bundles_pyml_pyml-current_pyml__arch__freebsd.ml (revision 521897) @@ -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 = ":" Property changes on: head/devel/coccinelle/files/patch-bundles_pyml_pyml-current_pyml__arch__freebsd.ml ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property