summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2005-12-30 16:40:09 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2005-12-30 16:40:09 +0000
commitc00032616b3f954de7ea68a33cb38fa8e404105a (patch)
treea90cb34849dfe86c5a83cf23917b868a2ab91305 /share
parent06a1f7eac584ce0836a1bf5c962d598e05d10446 (diff)
Allow to disable lint by setting WANTLIB=no
ok deraadt@ espie@
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.lib.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index 402b4b2b8fc..9c452e086a8 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.lib.mk,v 1.52 2005/12/29 14:44:05 espie Exp $
+# $OpenBSD: bsd.lib.mk,v 1.53 2005/12/30 16:40:08 grange 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
@@ -168,7 +168,7 @@ _LIBS+=lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
.endif
.endif
-.if defined(WANTLINT)
+.if defined(WANTLINT) && ${WANTLINT:L} != "no"
_LIBS+=llib-l${LIB}.ln
.endif
@@ -285,7 +285,7 @@ realinstall:
${INSTALL} ${INSTALL_COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} ${DESTDIR}${LIBDIR}
.endif
-.if defined(WANTLINT)
+.if defined(WANTLINT) && ${WANTLINT:L} != "no"
${INSTALL} ${INSTALL_COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
llib-l${LIB}.ln ${DESTDIR}${LINTLIBDIR}
.endif