From 64988b859cdcd956e9d7dea908a08500be111445 Mon Sep 17 00:00:00 2001 From: peter Date: Fri, 27 Sep 1996 07:02:21 +0000 Subject: Attempt to clean some bogons. I've had so much email with comments, complaints and suggestions about this over the last few days that I cannot remember who has said what anymore. :-( There is also a comment here about the intent of the process and another explicit pointer to the etc/etc/rc change to that has been ignored by quite a few people it seems. --- lib/libresolv/Makefile | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'lib/libresolv') diff --git a/lib/libresolv/Makefile b/lib/libresolv/Makefile index 79d70fd..5692b7d 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 -- cgit v1.1