mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
When building the textproc/docproj port, the ports-mgmt/pkg port
needs /var/run/ld-elf*.so.hints, which is not automatically created. Fix reldoc build by running the ldconfig(8) startup script in the chroot directory before starting the port build phase. MFC after: 3 days Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
2b3f8f22e1
commit
1997c2ef26
1 changed files with 4 additions and 0 deletions
|
|
@ -167,6 +167,10 @@ mount -t devfs devfs ${CHROOTDIR}/dev
|
|||
trap "umount ${CHROOTDIR}/dev" EXIT # Clean up devfs mount on exit
|
||||
|
||||
build_doc_ports() {
|
||||
# Run ldconfig(8) in the chroot directory so /var/run/ld-elf*.so.hints
|
||||
# is created. This is needed by ports-mgmt/pkg.
|
||||
chroot ${CHROOTDIR} /etc/rc.d/ldconfig forcerestart
|
||||
|
||||
## Trick the ports 'run-autotools-fixup' target to do the right thing.
|
||||
_OSVERSION=$(sysctl -n kern.osreldate)
|
||||
if [ -d ${CHROOTDIR}/usr/doc ] && [ "x${NODOC}" = "x" ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue