svn commit: r257158 - head/usr.sbin/pkg

Bryan Drewery bdrewery at FreeBSD.org
Sat Oct 26 13:38:50 UTC 2013


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>


More information about the svn-src-head mailing list