[Bug 143830] [patch] atmconfig(8): Fix conditional inclusion for sbin/atm/atmconfig

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 15 21:23:41 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=143830

--- Comment #5 from commit-hook at freebsd.org ---
A commit references this bug:

Author: ngie
Date: Fri Aug 15 21:22:50 UTC 2014
New revision: 270027
URL: http://svnweb.freebsd.org/changeset/base/270027

Log:
  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

Changes:
  head/Makefile.inc1
  head/sbin/atm/atmconfig/Makefile
  head/sbin/atm/atmconfig/main.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list