summaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-03-05 23:53:45 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-03-05 23:53:45 +0000
commit8969fc1f64b4d516be201b38a7027d36233a1946 (patch)
tree29f7774003b045f6ae997c0916a89de9734c1464 /x11-fonts
parentFix 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
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/fontconfig/Makefile1
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