Bug 163750 - Can't LIB_DEPENDS on print/libharu port.
Summary: Can't LIB_DEPENDS on print/libharu port.
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: Julien Laffaye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-01 12:30 UTC by Gleb Popov
Modified: 2012-01-02 21:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gleb Popov freebsd_committer freebsd_triage 2012-01-01 12:30:11 UTC
print/libharu port doesn't install it's library in libname.so.x format. As consequence, ldconfig doesn't cache it, so it's not possible to add library dependecy on this port in another one.

Fix: 

ln -s libhpdf-2.2.1.so libhpdf.so.2
How-To-Repeat: ldconfig -r | frep hpdf yields nothing.
Adding LIB_DEPENDS=hpdf:blabla to the port causes make to reinstall libharu.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-01-01 12:30:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jlaffaye

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-01-02 21:48:45 UTC
jlaffaye    2012-01-02 21:48:33 UTC

  FreeBSD ports repository

  Modified files:
    print/libharu        Makefile pkg-plist 
  Log:
  Add a symlink so ldconfig can find the shared object.
  While I am here, use PLIST_SUB variables.
  
  PR:             ports/163750
  Submitted by:   arrowdodger <6yearold@gmail.com>
  
  Revision  Changes    Path
  1.10      +8 -0      ports/print/libharu/Makefile
  1.4       +2 -1      ports/print/libharu/pkg-plist
_______________________________________________
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 Julien Laffaye freebsd_committer freebsd_triage 2012-01-02 21:49:21 UTC
State Changed
From-To: open->closed

Fixed.