FreeBSD Bugzilla – Attachment 232897 Details for
Bug 263006
math/ocaml-zarith: USE_OCAML_LDCONFIG
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
USE_OCAML_LDCONFIG and strip binaries
math_ocaml-zarith.diff (text/plain), 1.26 KB, created by
Thierry Thomas
on 2022-04-02 15:25:29 UTC
(
hide
)
Description:
USE_OCAML_LDCONFIG and strip binaries
Filename:
MIME Type:
Creator:
Thierry Thomas
Created:
2022-04-02 15:25:29 UTC
Size:
1.26 KB
patch
obsolete
>From e2236d5166c3dd82af71378958e5b2aaaabce681 Mon Sep 17 00:00:00 2001 >From: Thierry Thomas <thierry@FreeBSD.org> >Date: Sat, 2 Apr 2022 15:46:33 +0200 >Subject: [PATCH] math/ocaml-zarith: set USE_OCAML_LDCONFIG > >This is needed for devel/cil: without it cilly.byte does not find the >library. > >And also strip the binaries. >--- > math/ocaml-zarith/Makefile | 7 +++++++ > 1 file changed, 7 insertions(+) > >diff --git a/math/ocaml-zarith/Makefile b/math/ocaml-zarith/Makefile >index 90e0cf4cc9ce..3d3b6e6b67dc 100644 >--- a/math/ocaml-zarith/Makefile >+++ b/math/ocaml-zarith/Makefile >@@ -3,6 +3,7 @@ > PORTNAME= ${GH_PROJECT:tl} > PORTVERSION= 1.12 > DISTVERSIONPREFIX= release- >+PORTREVISION= 1 > CATEGORIES= math > PKGNAMEPREFIX= ocaml- > >@@ -21,6 +22,8 @@ GH_PROJECT= Zarith > USE_OCAML= yes > USE_OCAML_FINDLIB= yes > OCAMLFIND_LDCONF= /dev/null >+USE_OCAML_LDCONFIG= yes >+ > HAS_CONFIGURE= yes > ALL_TARGET= all > CONFIGURE_ENV= DESTDIR=${STAGEDIR} >@@ -34,6 +37,10 @@ OPTIONS_DEFINE= DOCS > > DOCS_ALL_TARGET=doc > >+post-install: >+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/${PORTNAME}.cmxs >+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/dllzarith.so >+ > post-install-DOCS-on: > @${MKDIR} ${STAGEDIR}${DOCSDIR} > ${MV} ${WRKSRC}/html ${STAGEDIR}${DOCSDIR} >-- >2.35.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 263006
: 232897