diff --git a/devel/ocaml-ppx_sexp_conv/Makefile b/devel/ocaml-ppx_sexp_conv/Makefile index c773dff29fbf..6effe99a7a77 100644 --- a/devel/ocaml-ppx_sexp_conv/Makefile +++ b/devel/ocaml-ppx_sexp_conv/Makefile @@ -1,41 +1,47 @@ PORTNAME= ppx_sexp_conv DISTVERSIONPREFIX= v DISTVERSION= 0.16.0 PORTREVISION= 2 CATEGORIES= devel PKGNAMEPREFIX= ocaml- MAINTAINER= freebsd@dev.thsi.be COMMENT= Deriving PPX plugin to generate S-expression converters WWW= https://github.com/janestreet/ppx_sexp_conv LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= ${SA_DIR}/base/META:devel/ocaml-base \ ${SA_DIR}/sexplib0/META:devel/ocaml-sexplib0 \ ${SA_DIR}/ppxlib/META:devel/ocaml-ppxlib RUN_DEPENDS= ${SA_DIR}/base/META:devel/ocaml-base \ ${SA_DIR}/sexplib0/META:devel/ocaml-sexplib0 \ ${SA_DIR}/ppxlib/META:devel/ocaml-ppxlib USES= ocaml:dune USE_GITHUB= yes GH_ACCOUNT= janestreet OPTIONS_DEFINE= DOCS DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} PORTDOCS= CHANGES.md LICENSE.md README.org OPTIONS_DEFINE= DOCS SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR} +.include + +.if ${ARCH} == powerpc +USE_BINUTILS= yes +.endif + post-install: @${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/ppx_sexp_conv/expander/ppx_sexp_conv_expander.cmxs \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/ppx_sexp_conv/ppx_sexp_conv.cmxs \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/ppx_sexp_conv/runtime-lib/ppx_sexp_conv_lib.cmxs .include