mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
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
This commit is contained in:
parent
32aeb54020
commit
53c08a1b2f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306970
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user