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
25045514dd
commit
31fda80aa3
@ -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