- fix packaging on architectures which are native, non-dynlink for OCaml

- set CLEANDEPENDS_devel_coccinelle=No to fix regress now that dependencies
are auto-cleaned (coccinelle must itself be installed to run the tests)
This commit is contained in:
sthen 2012-11-27 10:07:59 +00:00
parent 0966f08bf6
commit 28d18d0277
5 changed files with 11 additions and 12 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.18 2012/10/29 12:14:39 sthen Exp $
# $OpenBSD: Makefile,v 1.19 2012/11/27 10:07:59 sthen Exp $
SHARED_ONLY = Yes
@ -7,7 +7,7 @@ COMMENT = program matching and transformation engine
# if updating, check for any additional use of diff/grep which
# may need to be switched to gdiff/ggrep
DISTNAME = coccinelle-1.0.0-rc15
REVISION = 0
REVISION = 1
PKGNAME = ${DISTNAME:S/-rc/rc/}
EXTRACT_SUFX = .tgz
@ -29,12 +29,14 @@ MODULES = lang/ocaml \
lang/python
BUILD_DEPENDS = ${RUN_DEPENDS}
REGRESS_DEPENDS = ${FULLPKGPATH}
RUN_DEPENDS = devel/ocaml-pcre \
sysutils/findlib \
sysutils/ggrep \
textproc/gdiff
REGRESS_DEPENDS = ${FULLPKGPATH}
CLEANDEPENDS_devel_coccinelle = No
# asks questions at the end if it does better than expected
REGRESS_IS_INTERACTIVE = Yes
@ -67,5 +69,4 @@ post-install:
${PREFIX}/share/coccinelle/dllpycaml_stubs.so \
${PREFIX}/lib/ocaml/stublibs/
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.dynlink,v 1.1 2012/11/27 10:08:00 sthen Exp $
bin/spatch.opt
@bin share/coccinelle/spatch.opt

View File

@ -1,3 +0,0 @@
@comment $OpenBSD: PFRAG.native,v 1.1 2012/10/12 19:59:33 sthen Exp $
bin/spatch.opt
@bin share/coccinelle/spatch.opt

View File

@ -1,2 +0,0 @@
@comment $OpenBSD: PFRAG.shared,v 1.1 2012/10/12 19:59:33 sthen Exp $
lib/ocaml/stublibs/dllpycaml_stubs.so

View File

@ -1,10 +1,10 @@
@comment $OpenBSD: PLIST,v 1.7 2012/10/12 19:59:33 sthen Exp $
@comment $OpenBSD: PLIST,v 1.8 2012/11/27 10:08:00 sthen Exp $
%%dynlink%%
bin/spatch
bin/spatch.byte
%%native%%
%%SHARED%%
lib/ocaml/
lib/ocaml/stublibs/
lib/ocaml/stublibs/dllpycaml_stubs.so
@man man/man1/spatch.1
@man man/man3/Coccilib.3
share/coccinelle/