svn commit: r306970 - head/x11-fonts/fontconfig

Gerald Pfeifer gerald at FreeBSD.org
Sun Nov 4 14:54:47 UTC 2012


Author: gerald
Date: Sun Nov  4 14:54:47 2012
New Revision: 306970
URL: http://svn.freebsd.org/changeset/ports/306970

Log:
  Fix installing this port as a user (e.g., INSTALL_AS_USER=1) by
  ignoring the error code after a call to ${LDCONFIG}.
  
  Approved by:	maintainer timeout (3 months)
  Feature safe:	yes

Modified:
  head/x11-fonts/fontconfig/Makefile

Modified: head/x11-fonts/fontconfig/Makefile
==============================================================================
--- head/x11-fonts/fontconfig/Makefile	Sun Nov  4 14:16:27 2012	(r306969)
+++ head/x11-fonts/fontconfig/Makefile	Sun Nov  4 14:54:47 2012	(r306970)
@@ -61,9 +61,8 @@ post-install:
 		s|%%LOCALBASE%%|${LOCALBASE}|' < ${FILESDIR}/pkg-install.in \
 		> ${PKGINSTALL}
 .if !defined(PACKAGE_BUILDING)
-	@${LDCONFIG} -m ${PREFIX}/lib
+	-@${LDCONFIG} -m ${PREFIX}/lib
 	@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-
 .endif
 
 .include <bsd.port.post.mk>


More information about the svn-ports-head mailing list