aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-03-06 07:53:45 +0800
committermarcus <marcus@FreeBSD.org>2003-03-06 07:53:45 +0800
commit99f77be976d4beb80e673041f248b11021ca5060 (patch)
tree2a4538f36e640ad5bafcb9b679846623597cbf32 /x11-fonts
parent00c33b2450c1d42fdaa708e98a86fa5a8e44ce71 (diff)
downloadfreebsd-ports-gnome-99f77be976d4beb80e673041f248b11021ca5060.tar.gz
freebsd-ports-gnome-99f77be976d4beb80e673041f248b11021ca5060.tar.zst
freebsd-ports-gnome-99f77be976d4beb80e673041f248b11021ca5060.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
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