Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/blacklist don't let the library depend on itself.



details:   https://anonhg.NetBSD.org/src/rev/389194458e34
branches:  trunk
changeset: 335770:389194458e34
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jan 23 03:57:22 2015 +0000

description:
don't let the library depend on itself.

diffstat:

 external/bsd/blacklist/Makefile.inc |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r f30cd525cfc2 -r 389194458e34 external/bsd/blacklist/Makefile.inc
--- a/external/bsd/blacklist/Makefile.inc       Fri Jan 23 03:43:24 2015 +0000
+++ b/external/bsd/blacklist/Makefile.inc       Fri Jan 23 03:57:22 2015 +0000
@@ -1,8 +1,10 @@
-#      $NetBSD: Makefile.inc,v 1.2 2015/01/22 04:20:50 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.3 2015/01/23 03:57:22 christos Exp $
 
 WARNS=6
+.if !defined(LIB)
 LDADD+=        -lblacklist
 DPADD+= ${LIBBLACKLIST}
+.endif
 CPPFLAGS+= -I${.CURDIR}/../include
 CPPFLAGS+=-DHAVE_STRUCT_SOCKADDR_SA_LEN -DHAVE_UTIL_H -DHAVE_DB_H
 



Home | Main Index | Thread Index | Old Index