summaryrefslogtreecommitdiffstats
path: root/lib/libresolv
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-09-27 07:02:21 +0000
committerpeter <peter@FreeBSD.org>1996-09-27 07:02:21 +0000
commit64988b859cdcd956e9d7dea908a08500be111445 (patch)
tree9ff827f4e9ff010e4060fb889fb51450b762dead /lib/libresolv
parentadd80add7caa57839ad501d78e1f78311f9adfbb (diff)
downloadFreeBSD-src-64988b859cdcd956e9d7dea908a08500be111445.zip
FreeBSD-src-64988b859cdcd956e9d7dea908a08500be111445.tar.gz
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.
Diffstat (limited to 'lib/libresolv')
-rw-r--r--lib/libresolv/Makefile17
1 files changed, 15 insertions, 2 deletions
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 <bsd.lib.mk>
OpenPOWER on IntegriCloud