Author: bdrewery (ports committer)
Date: Sat Oct 26 13:38:49 2013
New Revision: 257158
URL: http://svnweb.freebsd.org/changeset/base/257158

Log:
  Link in libcrypto as well to fix build in some cases.
  
  Approved by:  bapt
  MFC after:    2 days
  Reported by:  many

Modified:
  head/usr.sbin/pkg/Makefile

Modified: head/usr.sbin/pkg/Makefile
==============================================================================
--- head/usr.sbin/pkg/Makefile  Sat Oct 26 13:18:39 2013        (r257157)
+++ head/usr.sbin/pkg/Makefile  Sat Oct 26 13:38:49 2013        (r257158)
@@ -6,8 +6,9 @@ SRCS=   pkg.c dns_utils.c config.c
 NO_MAN=        yes
 CFLAGS+=-I${.CURDIR}/../../contrib/libyaml/include
 .PATH: ${.CURDIR}/../../contrib/libyaml/include
-DPADD= ${LIBARCHIVE} ${LIBELF} ${LIBFETCH} ${LIBYAML} ${LIBSBUF}
-LDADD= -larchive -lelf -lfetch -lyaml -lsbuf -lssl
+DPADD= ${LIBARCHIVE} ${LIBELF} ${LIBFETCH} ${LIBYAML} ${LIBSBUF} ${LIBSSL} \
+       ${LIBCRYPTO}
+LDADD= -larchive -lelf -lfetch -lyaml -lsbuf -lssl -lcrypto
 USEPRIVATELIB= yaml
 
 .include <bsd.prog.mk>
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to