svn commit: r207478 - stable/8/sbin/hastctl
Pawel Jakub Dawidek
pjd at FreeBSD.org
Sat May 1 19:12:37 UTC 2010
Author: pjd
Date: Sat May 1 19:12:37 2010
New Revision: 207478
URL: http://svn.freebsd.org/changeset/base/207478
Log:
MFC r207070:
Fix compilation with WITHOUT_CRYPT or WITHOUT_OPENSSL options.
Reported by: Andrei V. Lavreniyuk <andy.lavr at reactor-xg.kiev.ua>
Modified:
stable/8/sbin/hastctl/Makefile
Directory Properties:
stable/8/sbin/hastctl/ (props changed)
Modified: stable/8/sbin/hastctl/Makefile
==============================================================================
--- stable/8/sbin/hastctl/Makefile Sat May 1 19:00:33 2010 (r207477)
+++ stable/8/sbin/hastctl/Makefile Sat May 1 19:12:37 2010 (r207478)
@@ -26,8 +26,13 @@ CFLAGS+=-DINET6
# This is needed to have WARNS > 1.
CFLAGS+=-DYY_NO_UNPUT
-DPADD= ${LIBCRYPTO} ${LIBL}
-LDADD= -lcrypto -ll
+DPADD= ${LIBL}
+LDADD= -ll
+.if ${MK_OPENSSL} != "no"
+DPADD+= ${LIBCRYPTO}
+LDADD+= -lcrypto
+CFLAGS+=-DHAVE_CRYPTO
+.endif
YFLAGS+=-v
More information about the svn-src-stable
mailing list