Opened 11 years ago

Last modified 2 years ago

#20911 assigned enhancement

make caml-pcre use the same compiler as ocaml

Reported by: wiml@… Owned by: pmetzger (Perry E. Metzger)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: nox@…
Port: ocaml-pcre

Description

If you had to mess with the compiler flags to get a stable ocaml, then caml-pcre might fail to work because it overrides and ignores ocaml's compiler configuration. This patch gets me a working pcre.

Attachments (1)

caml-pcre-cc.patch (448 bytes) - added by wiml@… 11 years ago.
set $CC to ocaml's compiler+options

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by wiml@…

Attachment: caml-pcre-cc.patch added

set $CC to ocaml's compiler+options

comment:1 Changed 11 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to landonf@…
Type: submissionenhancement

comment:2 Changed 11 years ago by nox@…

Cc: nox@… added
Keywords: haspatch added; patch removed
Version: 1.8.0

Why did you need to mess with ocaml compiler flags in the first place?

comment:3 Changed 11 years ago by wiml@…

I don't remember; that was six months ago. Presumably either had to keep it from building 32/64 universal (having set that to be my macports default), or had to tell it to use an older or newer compiler version (IIRC, caml's native-code emitter is sometimes sensitive to changes in the compiler's code generator).

comment:4 Changed 6 years ago by jmroot (Joshua Root)

Port: ocaml-pcre added; caml-pcre removed

comment:5 Changed 4 years ago by mf2k (Frank Schima)

Keywords: ocaml removed
Owner: landonf@… deleted
Status: newassigned

comment:6 Changed 2 years ago by pmetzger (Perry E. Metzger)

Owner: set to pmetzger
Note: See TracTickets for help on using tickets.