Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2011 16:58:28 +0000 (UTC)
From:      Olivier Houchard <cognet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r226440 - head/sbin/atm/atmconfig
Message-ID:  <201110161658.p9GGwSuL071394@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110161658.p9GGwSuL071394>