Opened 11 years ago

Closed 6 years ago

#38087 closed enhancement (fixed)

ocaml @4.00.1 emacs variant for installing .el files

Reported by: inouetakahiroki@… Owned by: pmetzger (Perry E. Metzger)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: ocaml

Description

The ocaml distribution contains emacs support .el files. They are not installed by current port, and nor has variant to install it.

This enhancement introduces emacs variant to ocaml port. This variant installs the .el files into ${prefix}/share/emacs/site-lisp

Attachments (2)

Portfile-ocaml.diff (1.2 KB) - added by inouetakahiroki@… 11 years ago.
patch-Makefile.diff (347 bytes) - added by inouetakahiroki@… 11 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Using a variant forces anyone who wants the emacs files to compile ocaml from source, since the buildbots only generate binaries for default variants. I personally would opt to install the emacs files by default, but otherwise a subport should be used.

comment:2 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: mww@… removed
Owner: changed from macports-tickets@… to mww@…
Version: 2.1.3

Changed 11 years ago by inouetakahiroki@…

Attachment: Portfile-ocaml.diff added

Changed 11 years ago by inouetakahiroki@…

Attachment: patch-Makefile.diff added

comment:3 in reply to:  2 Changed 11 years ago by inouetakahiroki@…

Replying to larryv@…:

I see.

I updated files so that .el files are now installed default, to ${prefix}/share/emacs/site-lisp

To reduce dependency (emacs), they are not batch-compiled.

Can this be good enough?

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

Owner: mww@… deleted
Status: newassigned

See #53012.

comment:5 Changed 6 years ago by mojca (Mojca Miklavec)

Owner: set to pmetzger

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

Sorry about how many years this has taken. I'm about to add a change to the current Portfile to the .el files are installed by default.

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

Resolution: fixed
Status: assignedclosed

In 37f1d8ec531eab56fe7fe362f75d66c1c74f0f34/macports-ports (master):

ocaml: install .el files for emacs caml mode

Closes: #38087

Note: See TracTickets for help on using tickets.