From 99f77be976d4beb80e673041f248b11021ca5060 Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 5 Mar 2003 23:53:45 +0000 Subject: 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 --- x11-fonts/fontconfig/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'x11-fonts') 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 -- cgit