From 10f94f86f5cc2ed72e9b38187d991c4f85a416ce Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Sun, 16 Oct 2011 16:58:28 +0000 Subject: [PATCH] Unbreak NO_DYNAMICROOT by explicitely linking to libcrypto if MK_OPENSSL isn't set to no, as libbsnmp needs it. --- sbin/atm/atmconfig/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sbin/atm/atmconfig/Makefile b/sbin/atm/atmconfig/Makefile index cbf5a9a87d4..0d64fea0f4f 100644 --- a/sbin/atm/atmconfig/Makefile +++ b/sbin/atm/atmconfig/Makefile @@ -5,6 +5,8 @@ # # $FreeBSD$ +.include + 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