summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-09-07 17:58:36 +0000
committerpeter <peter@FreeBSD.org>1996-09-07 17:58:36 +0000
commita80e135e4928df7b12e994f9d506fe75e8e422c5 (patch)
treedfeb5fb83534e9bafb21ce286e1a729e78288201 /lib
parentb50a4d6397ab225a88fc9b181b810abc62e0a4d7 (diff)
downloadFreeBSD-src-a80e135e4928df7b12e994f9d506fe75e8e422c5.zip
FreeBSD-src-a80e135e4928df7b12e994f9d506fe75e8e422c5.tar.gz
clean up some warts Bruce pointed out.
- no longer build or install libresolv.a, since we were immediately deleting it in afterinstall. - untangle $LIBDIR and $SHLIBDIR
Diffstat (limited to 'lib')
-rw-r--r--lib/libresolv/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libresolv/Makefile b/lib/libresolv/Makefile
index b271122..65aa8ba 100644
--- a/lib/libresolv/Makefile
+++ b/lib/libresolv/Makefile
@@ -1,12 +1,13 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93
LIB=resolv
-LIBDIR=/usr/lib/compat
+SHLIBDIR=${LIBDIR}/compat
+
+INTERNALLIB= yes #do not build or install libresolv.a
SRCS= fakelib.c
afterinstall:
- rm -f ${DESTDIR}${LIBDIR}/libresolv.a
- rm -f ${DESTDIR}/usr/lib/libresolv.*
+ rm -f ${DESTDIR}${LIBDIR}/libresolv.*
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud