svn commit: r226440 - head/sbin/atm/atmconfig

Olivier Houchard cognet at FreeBSD.org
Sun Oct 16 16:58:29 UTC 2011


Author: cognet
Date: Sun Oct 16 16:58:28 2011
New Revision: 226440
URL: http://svn.freebsd.org/changeset/base/226440

Log:
  Unbreak NO_DYNAMICROOT by explicitely linking to libcrypto if MK_OPENSSL isn't
  set to no, as libbsnmp needs it.

Modified:
  head/sbin/atm/atmconfig/Makefile

Modified: head/sbin/atm/atmconfig/Makefile
==============================================================================
--- head/sbin/atm/atmconfig/Makefile	Sun Oct 16 16:05:23 2011	(r226439)
+++ head/sbin/atm/atmconfig/Makefile	Sun Oct 16 16:58:28 2011	(r226440)
@@ -5,6 +5,8 @@
 #
 # $FreeBSD$
 
+.include <bsd.own.mk>
+
 PROG=	atmconfig
 .ifndef RESCUE
 SRCS=	${.OBJDIR}/oid.h
@@ -21,6 +23,9 @@ CFLAGS+= -I${.OBJDIR}
 .ifndef RESCUE
 DPADD=	${LIBBSNMP}
 LDADD=	-lbsnmp
+. if ${MK_DYNAMICROOT} == "no" && ${MK_OPENSSL} != "no"
+LDADD+= -lcrypto
+. endif
 .endif
 
 .ifndef RESCUE


More information about the svn-src-head mailing list