mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
net-p2p/mldonkey: force unsafe strings to unbreak against modern OCaml.
This commit is contained in:
parent
9aa49f27ff
commit
69c0109b3e
1 changed files with 2 additions and 0 deletions
|
@ -106,9 +106,11 @@ post-patch:
|
|||
${WRKDIR}/wrapper.sh
|
||||
@${REINPLACE_CMD} \
|
||||
-e 's|$$OCAMLLIB/$$LABLGTK_NAME|$$OCAMLLIB/site-lib/$$LABLGTK_NAME|' \
|
||||
-e 's|^DEVFLAGS=|&-unsafe-string|' \
|
||||
${WRKSRC}/config/configure
|
||||
@${REINPLACE_CMD} \
|
||||
-e 's|+labl|+site-lib/labl|' \
|
||||
-e '/BITSTRING/s|OCAMLC)|& -unsafe-string|' \
|
||||
${WRKSRC}/config/Makefile.in
|
||||
@${REINPLACE_CMD} -E \
|
||||
-e 's@(#include <)(lablgtk2/)@\1site-lib/\2@' \
|
||||
|
|
Loading…
Add table
Reference in a new issue