Bug 188994 - [ patch ] devel/ocaml-findlib fix install fix TOOLBOX disable
Summary: [ patch ] devel/ocaml-findlib fix install fix TOOLBOX disable
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: Johan van Selst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-25 18:50 UTC by Roman Bogorodskiy
Modified: 2014-05-03 16:27 UTC (History)
1 user (show)

See Also:


Attachments
ocaml-findlib-notoolbox.diff (391 bytes, patch)
2014-04-25 18:50 UTC, Roman Bogorodskiy
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Bogorodskiy freebsd_committer freebsd_triage 2014-04-25 18:50:00 UTC
   devel/ocaml-findlib with TOOLBOX option unchecked fails to install with:

(21:38) novel@kloomba:/usr/ports/devel/ocaml-findlib %> sudo make install
===>  Installing for ocaml-findlib-1.4.1_1
===>   ocaml-findlib-1.4.1_1 depends on file: /usr/local/bin/ocamlc - found
===>  Checking if devel/ocaml-findlib already installed
===>   Registering installation for ocaml-findlib-1.4.1_1
pkg-static: lstat(/usr/ports/devel/ocaml-findlib/work/stage/usr/local/lib/ocaml/site-lib/labltk/): No such file or directory
*** Error code 74

Stop.
make[1]: stopped in /usr/ports/devel/ocaml-findlib
*** Error code 1

With the attached patch it works fine.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-25 18:50:03 UTC
Responsible Changed
From-To: freebsd-ports-bugs->johans

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-05-03 16:11:33 UTC
Author: johans
Date: Sat May  3 15:11:29 2014
New Revision: 352919
URL: http://svnweb.freebsd.org/changeset/ports/352919
QAT: https://qat.redports.org/buildarchive/r352919/

Log:
  Only try to remove directories that have been installed;
  fixes installation with TOOLBOX disabled
  
  PR:		ports/188994
  Submitted by:	novel

Modified:
  head/devel/ocaml-findlib/pkg-plist

Modified: head/devel/ocaml-findlib/pkg-plist
==============================================================================
--- head/devel/ocaml-findlib/pkg-plist	Sat May  3 15:11:01 2014	(r352918)
+++ head/devel/ocaml-findlib/pkg-plist	Sat May  3 15:11:29 2014	(r352919)
@@ -140,5 +140,5 @@ man/man5/site-lib.5.gz
 @dirrm lib/ocaml/site-lib/camlp4
 @dirrm lib/ocaml/site-lib/compiler-libs
 @dirrm lib/ocaml/site-lib/bigarray
-@dirrmtry lib/ocaml/site-lib/labltk
+%%TOOLBOX%%@dirrmtry lib/ocaml/site-lib/labltk
 @dirrmtry lib/ocaml/site-lib
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Johan van Selst freebsd_committer freebsd_triage 2014-05-03 16:26:56 UTC
State Changed
From-To: open->closed

Committed, thanks