diff options
author | dumbbell <dumbbell@FreeBSD.org> | 2015-06-27 21:52:16 +0800 |
---|---|---|
committer | dumbbell <dumbbell@FreeBSD.org> | 2015-06-27 21:52:16 +0800 |
commit | 9cfec65a2c1607b05bd9115fbaed8a9cb9a5dd94 (patch) | |
tree | ca2884301c2ca28dcf497d064c8378ebd8eaf2e1 /devel | |
parent | 4b5d6530521212b1da27624de7befe2995c22e18 (diff) | |
download | freebsd-ports-gnome-9cfec65a2c1607b05bd9115fbaed8a9cb9a5dd94.tar.gz freebsd-ports-gnome-9cfec65a2c1607b05bd9115fbaed8a9cb9a5dd94.tar.zst freebsd-ports-gnome-9cfec65a2c1607b05bd9115fbaed8a9cb9a5dd94.zip |
devel/coccinelle: Update to 1.0.1
spatch(1) is not stripped anymore as it breaks the executable. For
instance, when not stripped, "spatch --version" returns:
spatch version 1.0.1 with Python support and with PCRE support
But once stripped, it does not work anymore:
Unknown option --version
This was already broken in the previous version of the port
(1.0.0-rc22).
Differential Revision: https://reviews.freebsd.org/D2926
Reviewed by: kwm
Approved by: kwm
Diffstat (limited to 'devel')
-rw-r--r-- | devel/coccinelle/Makefile | 11 | ||||
-rw-r--r-- | devel/coccinelle/distinfo | 4 | ||||
-rw-r--r-- | devel/coccinelle/pkg-plist | 63 |
3 files changed, 50 insertions, 28 deletions
diff --git a/devel/coccinelle/Makefile b/devel/coccinelle/Makefile index 79409f9029ee..a0b64011b193 100644 --- a/devel/coccinelle/Makefile +++ b/devel/coccinelle/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= coccinelle -DISTVERSION= 1.0.0-rc22 -PORTREVISION= 1 +DISTVERSION= 1.0.1 CATEGORIES= devel MASTER_SITES= http://coccinelle.lip6.fr/distrib/ @@ -13,6 +12,9 @@ COMMENT= Program matching and transformation engine LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/license.txt +BUILD_DEPENDS= menhir:${PORTSDIR}/devel/menhir \ + ocaml-parmap>=0:${PORTSDIR}/devel/ocaml-parmap \ + ocaml-pcre>=0:${PORTSDIR}/devel/ocaml-pcre LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre USES= gmake perl5 pkgconfig:build python tar:tgz @@ -24,7 +26,8 @@ MAKE_ARGS= PYTHON_VERSION=${PYTHON_VER} CONFIGURE_ENV= PYVER=${PYTHON_VER} PYTHON=${PYTHON_CMD} post-install: - ${STRIP_CMD} ${STAGEDIR}${DATADIR}/spatch - ${STRIP_CMD} ${STAGEDIR}${DATADIR}/*.so + # FIXME: Stripping spatch(1) breaks the executable. + # ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/coccinelle/spatch + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/coccinelle/*.so .include <bsd.port.mk> diff --git a/devel/coccinelle/distinfo b/devel/coccinelle/distinfo index 3f40723badfc..371591bbdb46 100644 --- a/devel/coccinelle/distinfo +++ b/devel/coccinelle/distinfo @@ -1,2 +1,2 @@ -SHA256 (coccinelle-1.0.0-rc22.tgz) = 004a1a6f35fcf27bf6a63db92e3a3ba64552a4f8e0a41a83352e934eefa6e87a -SIZE (coccinelle-1.0.0-rc22.tgz) = 2624506 +SHA256 (coccinelle-1.0.1.tgz) = 39caac46c1f80cbe5de21164c5b31a794e3befdb9cd7ef1d080d455ac171b526 +SIZE (coccinelle-1.0.1.tgz) = 2772730 diff --git a/devel/coccinelle/pkg-plist b/devel/coccinelle/pkg-plist index 3070d3af1bd6..eaf59c2665ce 100644 --- a/devel/coccinelle/pkg-plist +++ b/devel/coccinelle/pkg-plist @@ -1,26 +1,45 @@ bin/spatch bin/spatch.byte +lib/coccinelle/dllpycaml_stubs.so +lib/coccinelle/ocaml/ast0_cocci.cmi +lib/coccinelle/ocaml/ast_c.cmi +lib/coccinelle/ocaml/ast_cocci.cmi +lib/coccinelle/ocaml/coccilib.cmi +lib/coccinelle/ocaml/common.cmi +lib/coccinelle/ocaml/config.cmi +lib/coccinelle/ocaml/exposed_modules.cmi +lib/coccinelle/ocaml/flag.cmi +lib/coccinelle/ocaml/iteration.cmi +lib/coccinelle/ocaml/lexer_c.cmi +lib/coccinelle/ocaml/lib_parsing_c.cmi +lib/coccinelle/ocaml/ocamlcocci_aux.cmi +lib/coccinelle/ocaml/parse_c.cmi +lib/coccinelle/ocaml/parser_c.cmi +lib/coccinelle/ocaml/prepare_ocamlcocci.cmi +lib/coccinelle/ocaml/pretty_print_c.cmi +lib/coccinelle/ocaml/regexp.cmi +lib/coccinelle/ocaml/run_ocamlcocci.cmi +lib/coccinelle/ocaml/type_cocci.cmi +lib/coccinelle/ocaml/visitor_c.cmi +lib/coccinelle/ocaml/yes_prepare_ocamlcocci.cmi +lib/coccinelle/python/coccilib/__init__.py +lib/coccinelle/python/coccilib/coccigui/__init__.py +lib/coccinelle/python/coccilib/coccigui/coccigui.py +lib/coccinelle/python/coccilib/coccigui/pycoccimodel.py +lib/coccinelle/python/coccilib/coccigui/pygui.glade +lib/coccinelle/python/coccilib/coccigui/pygui.gladep +lib/coccinelle/python/coccilib/coccigui/vim.py +lib/coccinelle/python/coccilib/coccigui/vimcom.py +lib/coccinelle/python/coccilib/coccigui/vimeditor.py +lib/coccinelle/python/coccilib/coccigui/vimembed.py +lib/coccinelle/python/coccilib/elems.py +lib/coccinelle/python/coccilib/org.py +lib/coccinelle/python/coccilib/output.py +lib/coccinelle/python/coccilib/report.py +lib/coccinelle/python/coccilib/trac.py +lib/coccinelle/python/coccilib/xml_firehose.py +lib/coccinelle/spatch +lib/coccinelle/standard.h +lib/coccinelle/standard.iso man/man1/spatch.1.gz man/man3/Coccilib.3cocci.gz -%%DATADIR%%/dllpcre_stubs.so -%%DATADIR%%/dllpycaml_stubs.so -%%DATADIR%%/ocaml/coccilib.cmi -%%DATADIR%%/python/coccilib/__init__.py -%%DATADIR%%/python/coccilib/coccigui/__init__.py -%%DATADIR%%/python/coccilib/coccigui/coccigui.py -%%DATADIR%%/python/coccilib/coccigui/pycoccimodel.py -%%DATADIR%%/python/coccilib/coccigui/pygui.glade -%%DATADIR%%/python/coccilib/coccigui/pygui.gladep -%%DATADIR%%/python/coccilib/coccigui/vim.py -%%DATADIR%%/python/coccilib/coccigui/vimcom.py -%%DATADIR%%/python/coccilib/coccigui/vimeditor.py -%%DATADIR%%/python/coccilib/coccigui/vimembed.py -%%DATADIR%%/python/coccilib/elems.py -%%DATADIR%%/python/coccilib/org.py -%%DATADIR%%/python/coccilib/output.py -%%DATADIR%%/python/coccilib/report.py -%%DATADIR%%/python/coccilib/trac.py -%%DATADIR%%/python/coccilib/xml_firehose.py -%%DATADIR%%/spatch -%%DATADIR%%/standard.h -%%DATADIR%%/standard.iso |