ldconfig.patch

steve, 11/28/2008 03:41 PM

Download (941 Bytes)

View differences:

etc/Makefile 16 Oct 2008 07:24:17 -0000
194 194
	${LN} -s "../dev/video/bktr/ioctl_bt848.h" ${DESTDIR}/usr/include/machine/ioctl_bt848.h
195 195
	${LN} -s "../dev/video/meteor/ioctl_meteor.h" ${DESTDIR}/usr/include/machine/ioctl_meteor.h
196 196
.if exists(${DESTDIR}/usr/lib/gcc2)
197
	ldconfig -m ${DESTDIR}/usr/lib/gcc2
197
	/sbin/ldconfig -m ${DESTDIR}/usr/lib/gcc2
198 198
.endif
199 199
.for lib in ${COMPAT_LIBS:M*.so.*}
200 200
.if exists(${DESTDIR}/usr/lib/${lib})
......
224 224
	rm -rf ${DESTDIR}/boot/modules.old/modules.old
225 225
.endif
226 226
.endif
227
	ldconfig -R
227
	/sbin/ldconfig -R
228 228
.if !defined(BINARY_UPGRADE) # binary upgrade just copies these nodes
229 229
.if !defined(NOMAN)
230 230
	cd ${UPGRADE_SRCDIR}/../share/man; ${MAKE} makedb