Bug 110424 - net/openldap23-server - fix USE_LDCONFIG
Summary: net/openldap23-server - fix USE_LDCONFIG
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: Xin LI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-17 04:50 UTC by edwin
Modified: 2007-03-20 14:20 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 edwin 2007-03-17 04:50:04 UTC
net/openldap23-server installs libraries in libexec/openldap.

By startup, it fails for me because the cache of ldconfig is cleared
(maybe this is a jail only issue, maybe this is a normal issue).

Running "ldconfig -m /usr/local/libexec/openldap/" will resolve
this.

But setting "USE_LDCONFIG=${PREFIX}/libexec/openldap" in the ports
Makefile will create a small file in /usr/local/libdata/ldconfig
which will be used at startup to do the ldconfig command.

See multimedia/mplayer for use of it.

Fix: 

replace USE_LDCONFIG=yes with USE_LDCONFIG=${PREFIX}/libexec/openldap
in the ports makefile(s).
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-03-17 04:50:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->delphij

Over to maintainer
Comment 2 Xin LI freebsd_committer freebsd_triage 2007-03-20 14:05:10 UTC
State Changed
From-To: open->closed
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-03-20 14:10:52 UTC
delphij     2007-03-20 14:10:41 UTC

  FreeBSD ports repository

  Modified files:
    net/openldap23-server Makefile 
    net/openldap24-server Makefile 
  Log:
  Use USE_LDCONFIG correctly upon successful server installation
  in order to make backend shared objects to be recognized
  correctly.
  
  Requested by:   edwin
  PR:             ports/110424
  
  Revision  Changes    Path
  1.150     +2 -1      ports/net/openldap23-server/Makefile
  1.138     +2 -1      ports/net/openldap24-server/Makefile
_______________________________________________
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"