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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to