diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-03-05 23:53:45 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-03-05 23:53:45 +0000 |
commit | 8969fc1f64b4d516be201b38a7027d36233a1946 (patch) | |
tree | 29f7774003b045f6ae997c0916a89de9734c1464 | |
parent | Fix build for 5.0 and for 4.x with lang/perl5 installed. (diff) |
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
Notes
Notes:
svn path=/head/; revision=76998
-rw-r--r-- | x11-fonts/fontconfig/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/x11-fonts/fontconfig/Makefile b/x11-fonts/fontconfig/Makefile index 7cc969bc62e5..fd9195a0b715 100644 --- a/x11-fonts/fontconfig/Makefile +++ b/x11-fonts/fontconfig/Makefile @@ -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 |