svn commit: r242609 - stable/9/usr.bin/fetch
Dag-Erling Smørgrav
des at FreeBSD.org
Mon Nov 5 12:41:55 UTC 2012
Author: des
Date: Mon Nov 5 12:41:55 2012
New Revision: 242609
URL: http://svnweb.freebsd.org/changeset/base/242609
Log:
MFH r240496: use libmd if and only if OpenSSL is not available
Modified:
stable/9/usr.bin/fetch/Makefile
Directory Properties:
stable/9/usr.bin/fetch/ (props changed)
Modified: stable/9/usr.bin/fetch/Makefile
==============================================================================
--- stable/9/usr.bin/fetch/Makefile Mon Nov 5 10:54:14 2012 (r242608)
+++ stable/9/usr.bin/fetch/Makefile Mon Nov 5 12:41:55 2012 (r242609)
@@ -4,11 +4,12 @@
PROG= fetch
CSTD?= c99
+.if ${MK_OPENSSL} != "no"
+DPADD= ${LIBFETCH} ${LIBSSL} ${LIBCRYPTO}
+LDADD= -lfetch -lssl -lcrypto
+.else
DPADD= ${LIBFETCH} ${LIBMD}
LDADD= -lfetch -lmd
-.if ${MK_OPENSSL} != "no"
-DPADD+= ${LIBSSL} ${LIBCRYPTO}
-LDADD+= -lssl -lcrypto
.endif
.include <bsd.prog.mk>
More information about the svn-src-stable-9
mailing list