summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-07-27 23:46:51 +0000
committerguenther <guenther@openbsd.org>2014-07-27 23:46:51 +0000
commit401a0294274297025dd0325ab7d2342341de0e5d (patch)
treef27d0ca5ceda5ed13147eba5be7b7e4362db12b0
parentmake sure makewhatis shows error messages without unsightly CODE() refs (diff)
downloadwireguard-openbsd-401a0294274297025dd0325ab7d2342341de0e5d.tar.xz
wireguard-openbsd-401a0294274297025dd0325ab7d2342341de0e5d.zip
Link dependencies on libssl and libcrypto were missing.
OPENSSL_NO_RC5 is #defined in the #includes, so it's not needed here. ok deraadt@
-rw-r--r--usr.sbin/openssl/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/openssl/Makefile b/usr.sbin/openssl/Makefile
index 3bfd20117dc..1d149f25d8b 100644
--- a/usr.sbin/openssl/Makefile
+++ b/usr.sbin/openssl/Makefile
@@ -1,7 +1,8 @@
-# $OpenBSD: Makefile,v 1.30 2014/07/02 20:37:06 miod Exp $
+# $OpenBSD: Makefile,v 1.31 2014/07/27 23:46:51 guenther Exp $
PROG= openssl
LDADD= -lssl -lcrypto
+DPADD= ${LIBSSL} ${LIBCRYPTO}
MAN1= openssl.1
CFLAGS+= -Wall -Werror
@@ -14,7 +15,7 @@ CFLAGS+= -Wtrigraphs
CFLAGS+= -Wuninitialized
CFLAGS+= -Wunused
-CFLAGS+= -DOPENSSL_NO_RC5 -DLIBRESSL_INTERNAL
+CFLAGS+= -DLIBRESSL_INTERNAL
SRCS= verify.c asn1pars.c req.c dgst.c dh.c enc.c passwd.c gendh.c errstr.c \
pkcs7.c crl2p7.c crl.c ca.c \