diff options
Diffstat (limited to 'lib/libresolv')
-rw-r--r-- | lib/libresolv/Makefile | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/lib/libresolv/Makefile b/lib/libresolv/Makefile index 79d70fda4796..5692b7da555b 100644 --- a/lib/libresolv/Makefile +++ b/lib/libresolv/Makefile @@ -3,10 +3,23 @@ LIB= resolv SHLIBDIR= ${LIBDIR}/compat INTERNALLIB= yes # Do not build or install libresolv*.a +SHLIB_MAJOR= 2 +SHLIB_MINOR= 0 SRCS= fakelib.c -afterinstall: - rm -f ${DESTDIR}${LIBDIR}/libresolv* +# +# Before complaining about this, please *double-check* that you have +# updated the ldconfig path in /etc/rc to include /usr/lib/compat that +# was added in src/etc/rc rev 1.98. +# This is so that programs that use autoconf will not "detect" -lresolv +# and continue to propagate the bogosity. The ldconfig path fix will +# enable you to run programs that were linked with -lresolv. +# +# libresolv on FreeBSD-2.x **never did anything**!! +# +beforeinstall: + rm -f ${DESTDIR}${LIBDIR}/libresolv.a + rm -f ${DESTDIR}${LIBDIR}/libresolv.so.${SHLIB_MAJOR}.${SHLIB_MINOR} .include <bsd.lib.mk> |