aboutsummaryrefslogtreecommitdiff
path: root/lib/libresolv
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1996-09-27 07:02:21 +0000
committerPeter Wemm <peter@FreeBSD.org>1996-09-27 07:02:21 +0000
commit0b4ab99195ac038d9fcfc82212224aa983a508e0 (patch)
tree9ff827f4e9ff010e4060fb889fb51450b762dead /lib/libresolv
parent1516dba3a390209ab26a60bc955468ccff142960 (diff)
downloadsrc-0b4ab99195ac038d9fcfc82212224aa983a508e0.tar.gz
src-0b4ab99195ac038d9fcfc82212224aa983a508e0.zip
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.
Notes
Notes: svn path=/head/; revision=18507
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 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>