summaryrefslogtreecommitdiffstats
path: root/lib/libresolv
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-08-30 01:14:40 +0000
committerpeter <peter@FreeBSD.org>1996-08-30 01:14:40 +0000
commitbb412b1fc57980e61909bdb9a78adc9102f61e4b (patch)
treeec28f12f86075154cb2b6e359689019f68160b55 /lib/libresolv
parent676b90cac3f4e75e9475a4da5e2b69e28c0e8518 (diff)
downloadFreeBSD-src-bb412b1fc57980e61909bdb9a78adc9102f61e4b.zip
FreeBSD-src-bb412b1fc57980e61909bdb9a78adc9102f61e4b.tar.gz
Quick hack to replace a destructive libresolv.so.2.0 with something
that transparently resolves references to libc.
Diffstat (limited to 'lib/libresolv')
-rw-r--r--lib/libresolv/Makefile6
-rw-r--r--lib/libresolv/fakelib.c1
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/libresolv/Makefile b/lib/libresolv/Makefile
index 699c54c..c205b92 100644
--- a/lib/libresolv/Makefile
+++ b/lib/libresolv/Makefile
@@ -1,10 +1,10 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93
LIB=resolv
-CFLAGS+=-DDEBUG -DLIBC_SCCS
-.PATH: ${.CURDIR}/../libc/net
+SRCS= fakelib.c
-SRCS=gethostnamadr.c res_mkquery.c res_query.c res_send.c
+afterinstall:
+ rm -f ${DESTDIR}${LIBDIR}/libresolv.a
.include <bsd.lib.mk>
diff --git a/lib/libresolv/fakelib.c b/lib/libresolv/fakelib.c
new file mode 100644
index 0000000..0f7b46f
--- /dev/null
+++ b/lib/libresolv/fakelib.c
@@ -0,0 +1 @@
+static int ___fake_library___;
OpenPOWER on IntegriCloud