Date: Sat, 1 May 2010 19:12:37 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r207478 - stable/8/sbin/hastctl Message-ID: <201005011912.o41JCbxS075271@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005011912.o41JCbxS075271>