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:
parent
bcad8eda11
commit
8969fc1f64
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76998
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue