summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-09-12 17:10:41 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-09-12 17:10:41 +0000
commit496d4f986a8bc1c63e3e6bdba8440514c1cbffc4 (patch)
treec8a57138dce31b41675d3a2cd8fe3176a3dd921c
parentc6c020468d5d87c53650eb5cb1be5618a08a02bb (diff)
give a full pathname to the installed library, so we don't get a WTF? error
if the directory does not yet exist. okay millert@
-rw-r--r--share/mk/bsd.lib.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index 73f909d84eb..7804f0dc027 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.lib.mk,v 1.43 2004/09/20 18:52:38 espie Exp $
+# $OpenBSD: bsd.lib.mk,v 1.44 2005/09/12 17:10:40 espie Exp $
# $NetBSD: bsd.lib.mk,v 1.67 1996/01/17 20:39:26 mycroft Exp $
# @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91
@@ -216,7 +216,7 @@ beforeinstall:
realinstall:
# ranlib lib${LIB}.a
${INSTALL} ${INSTALL_COPY} -o ${LIBOWN} -g ${LIBGRP} -m 600 lib${LIB}.a \
- ${DESTDIR}${LIBDIR}
+ ${DESTDIR}${LIBDIR}/lib${LIB}.a
.if (${INSTALL_COPY} != "-p")
${RANLIB} -t ${DESTDIR}${LIBDIR}/lib${LIB}.a
.endif