aboutsummaryrefslogtreecommitdiff
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
parentbcad8eda1163cfb367085ba723a69f3d7a788fe0 (diff)
downloadports-8969fc1f64b4d516be201b38a7027d36233a1946.tar.gz
ports-8969fc1f64b4d516be201b38a7027d36233a1946.zip
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