diff options
author | cognet <cognet@FreeBSD.org> | 2011-10-16 16:58:28 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2011-10-16 16:58:28 +0000 |
commit | c18d1febae15f77c86db50a170ce609073f948b0 (patch) | |
tree | a4ba21a1a30f9951c6317197d8d9a3866419e2e9 /sbin/atm | |
parent | a7d5299490d9eec54a0da2ef5a810222a6c40383 (diff) | |
download | FreeBSD-src-c18d1febae15f77c86db50a170ce609073f948b0.zip FreeBSD-src-c18d1febae15f77c86db50a170ce609073f948b0.tar.gz |
Unbreak NO_DYNAMICROOT by explicitely linking to libcrypto if MK_OPENSSL isn't
set to no, as libbsnmp needs it.
Diffstat (limited to 'sbin/atm')
-rw-r--r-- | sbin/atm/atmconfig/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sbin/atm/atmconfig/Makefile b/sbin/atm/atmconfig/Makefile index cbf5a9a..0d64fea 100644 --- a/sbin/atm/atmconfig/Makefile +++ b/sbin/atm/atmconfig/Makefile @@ -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 |