- Re-add LDCONFIG*_DIR to bsd.ldconfig.mk since it causes directories not
being created at install-time (LDCONFIG*_DIR defined in bsd.port.post.mk). [1]
- Update to a more recent version the ldconfig script.
Reported by: fenner [1]
- Adding sensible defaults to the startup script so people don't need to
touch /etc/rc.conf anymore.
- Silent @dirrm for ldconfig directories, this ensures a quiet upgrade.
- Fix installation with package, directories weren't created.
Noticed by: pav
- Fix RUN_DEPENDS in bsd.ldconfig.mk.
- In a previous commit, I said that you need to use the install-rc-script,
you should read install-ldconfig-file.
Noticed by: ale
Forced commit to note that you need to include this as well before
bsd.ldconfig.mk moves to bsd.port.mk:
--
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/misc/ldconfig_compat/bsd.ldconfig.mk"
--
Add ldconfig_compat, a port that installs a ldconfig compatibility script
to reflect latest changes to /etc/rc.d/ldconfig which are the use of ldconfig
directories (${PREFIX}/libdata/ldconfig{,32}). This change is meant to remove
so-called ldconfig startup scripts installed by ports as 000.${foo}.sh.
The bsd.ldconfig.mmk file is only temporary as this should move quickly to
bsd.port.mk. Anyway, to use it, just define the following in your ports'
Makefile :
USE_LDCONFIG= dir1 dir2
and (before bsd.ldconfig.mk moves to bsd.port.mk) :
post-install: install-rc-script