Don't build elf libresolv.so*, no elf freebsd binaries have used it ever.
Also, the a.out compat version is supposed to go into /usr/lib/compat/aout. Try and clean up the mess left behind in /usr/lib/compat.
This commit is contained in:
parent
94614a780f
commit
29b678437f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40198
@ -7,6 +7,10 @@ SHLIB_MINOR= 0
|
||||
|
||||
SRCS= fakelib.c
|
||||
|
||||
.if ${OBJFORMAT} != aout
|
||||
NOPIC= true
|
||||
.endif
|
||||
|
||||
#
|
||||
# Before complaining about this, please *double-check* that you have
|
||||
# updated the ldconfig path in /etc/rc to include /usr/lib/compat that
|
||||
@ -19,8 +23,11 @@ SRCS= fakelib.c
|
||||
#
|
||||
beforeinstall:
|
||||
rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.a \
|
||||
${DESTDIR}${LIBDIR}/lib${LIB}_p.a \
|
||||
${DESTDIR}${ORIG_SHLIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
|
||||
${DESTDIR}${LIBDIR}/lib${LIB}_p.a \
|
||||
${DESTDIR}${ORIG_SHLIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
|
||||
${DESTDIR}/usr/lib/compat/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
|
||||
${DESTDIR}/usr/lib/compat/lib${LIB}.so.${SHLIB_MAJOR} \
|
||||
${DESTDIR}/usr/lib/compat/lib${LIB}.so
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
@ -29,4 +36,4 @@ ORIG_SHLIBDIR:= ${SHLIBDIR}
|
||||
|
||||
# The ldconfig line in/etc/rc doesn't depend on ${LIBDIR} or ${SHLIBDIR},
|
||||
# so neither does this.
|
||||
SHLIBDIR= /usr/lib/compat
|
||||
SHLIBDIR= /usr/lib/compat/aout
|
||||
|
Loading…
Reference in New Issue
Block a user