Force ldconfig to run before pkg-install to fix a problem where the user

may have booted the machine without having /usr/X11R6/lib.  Thus ldconfig
never cached it.  This should fix the sprious Error 1 failures when
running post-install.

Reported by:	anholt
This commit is contained in:
Joe Marcus Clarke 2003-03-05 23:53:45 +00:00
parent bcad8eda11
commit 8969fc1f64
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76998

View File

@ -53,6 +53,7 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/fc-list/fc-list.man \
${PREFIX}/man/man1/fc-list.1
.if !defined(PACKAGE_BUILDING)
@${LDCONFIG} -m ${PREFIX}/lib
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif