mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
devel/ocaml-ipaddr: force unsafe strings to prepare for modern OCaml
While here, perform configure step in the ${CONFIGURE_WRKSRC} (style issue, but canonical).
This commit is contained in:
parent
923349e081
commit
75d1423251
@ -24,7 +24,12 @@ USE_OCAML_CAMLP4= yes
|
||||
USE_OCAMLFIND_PLIST= yes
|
||||
USE_OCAML_LDCONFIG= yes
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/^SETUP =/s,ocaml,& -unsafe-string,' \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
do-configure:
|
||||
cd ${WRKSRC}; ocaml setup.ml -configure ${CONFIGURE_ARGS}
|
||||
cd ${CONFIGURE_WRKSRC} && ocaml -unsafe-string setup.ml \
|
||||
-configure ${CONFIGURE_ARGS}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user