summaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-03-05 23:53:45 +0000
committermarcus <marcus@FreeBSD.org>2003-03-05 23:53:45 +0000
commit99f77be976d4beb80e673041f248b11021ca5060 (patch)
tree2a4538f36e640ad5bafcb9b679846623597cbf32 /x11-fonts
parent00c33b2450c1d42fdaa708e98a86fa5a8e44ce71 (diff)
downloadFreeBSD-ports-99f77be976d4beb80e673041f248b11021ca5060.zip
FreeBSD-ports-99f77be976d4beb80e673041f248b11021ca5060.tar.gz
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 7cc969b..fd9195a 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
OpenPOWER on IntegriCloud