diff options
author | ngie <ngie@FreeBSD.org> | 2014-08-15 21:22:49 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2014-08-15 21:22:49 +0000 |
commit | e4261b2c3a9a2282564c39c807ddc0250d6c15eb (patch) | |
tree | 62c6fa9da8bc31355531b1e6148f5e849027576d /etc | |
parent | f4c59deacc5d23b40364e5a0921966ad899e1cb6 (diff) | |
download | FreeBSD-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 'etc')
0 files changed, 0 insertions, 0 deletions