summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2014-08-15 21:22:49 +0000
committerngie <ngie@FreeBSD.org>2014-08-15 21:22:49 +0000
commite4261b2c3a9a2282564c39c807ddc0250d6c15eb (patch)
tree62c6fa9da8bc31355531b1e6148f5e849027576d /Makefile.inc1
parentf4c59deacc5d23b40364e5a0921966ad899e1cb6 (diff)
downloadFreeBSD-src-e4261b2c3a9a2282564c39c807ddc0250d6c15eb.zip
FreeBSD-src-e4261b2c3a9a2282564c39c807ddc0250d6c15eb.tar.gz
Fix atmconfig compilation when MK_ATM == yes and MK_BSNMP == no
Makefile.inc1: Always compile gensnmptree with bootstrap-tools when MK_BSNMP != no instead of depending on a potentially stale tool installed on the build host sbin/atm/atmconfig/Makefile: - Always remove oid.h to avoid cluttering up the build/src tree. - Consolidate all of the RESCUE/MK_BSNMP != no logic under one conditional to improve readability - Remove unnecessary ${.OBJDIR} prefixing for oid.h and use ${.TARGET} instead of spelling out oid.h - Add a missing DPADD for ${LIBCRYPTO} when compiled MK_BSNMP == yes and MK_OPENSSL == yes and not compiling for /rescue/rescue sbin/atm/atmconfig/main.c: Change #ifndef RESCUE to #ifdef WITH_BSNMP in main.c to make it clear that we're compiling bsnmp support into atmconfig Approved by: jmmv (mentor) Phabric: D579 PR: 143830 MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc12
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 5a8977e..4acc089 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1239,7 +1239,7 @@ _lex= usr.bin/lex
_awk= usr.bin/awk
.endif
-.if ${MK_BSNMP} != "no" && !exists(/usr/sbin/gensnmptree)
+.if ${MK_BSNMP} != "no"
_gensnmptree= usr.sbin/bsnmpd/gensnmptree
.endif
OpenPOWER on IntegriCloud