Bug 122844 - Update to Mk/bsd.ocaml.mk
Summary: Update to Mk/bsd.ocaml.mk
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Stanislav Sedov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-17 12:00 UTC by jaapb
Modified: 2008-05-19 09:48 UTC (History)
0 users

See Also:


Attachments
file.txt (5.64 KB, text/plain)
2008-04-17 12:00 UTC, jaapb
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jaapb 2008-04-17 12:00:07 UTC
This is a change to bsd.ocaml.mk, so that the PLIST can be automatically generated if the package uses ocaml-findlib.

A new target has been added, ocaml-plist, to do this. It is run during the post-install phase, dependent on the value of the USE_OCAML_PLIST variable.

I've changed the variable OCAML_LDLIBS to OCAML_LIBDIRS for more clarity;
its default value is now longer ${OCAML_SITELIBDIR}/${PORTNAME}, but dependent
on the value of OCAML_PKGDIRS.

Fix: new .mk file attached

Patch attached with submission follows:
How-To-Repeat: n/a
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-04-18 00:06:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->stas

bsd.ocaml.mk is stas territory (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-05-19 08:05:42 UTC
stas        2008-05-19 07:05:36 UTC

  FreeBSD ports repository

  Modified files:
    Mk                   bsd.ocaml.mk 
  Log:
  - Add a knob to generate pkg-plist for ocaml findlib
    ports automatically. Now if USE_OCAMLFIND_PLIST is defined
    all files under findlib target directories will be added
    to pkg-plist and thus requires no entries in static pkg-plist.
    This is important since a number of ocaml ports install its
    package files conditionally depending on platform and ocaml
    configurations and thus static entries are not possible.
  
  PR:             ports/122844 (based on)
  Submitted by:   Jaap Boender <jaapb@kerguelen.org>
  
  Revision  Changes    Path
  1.3       +7 -1      ports/Mk/bsd.ocaml.mk
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Stanislav Sedov freebsd_committer freebsd_triage 2008-05-19 09:48:38 UTC
State Changed
From-To: open->closed

Committed. Thanks!