Index: Makefile =================================================================== RCS file: /home/pcvs/ports/sysutils/bacula-bat/Makefile,v retrieving revision 1.11 diff -u -r1.11 Makefile --- Makefile 17 Jul 2010 01:00:46 -0000 1.11 +++ Makefile 3 Sep 2010 22:43:08 -0000 @@ -31,9 +31,18 @@ --disable-build-stored \ --enable-client-only +OPTIONS+= OPENSSL "Enable OpenSSL for encrypted communication" on + .include "${MASTERDIR}/Makefile" .include +.if !defined(WITHOUT_OPENSSL) +.include "${PORTSDIR}/Mk/bsd.openssl.mk" +CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE} +.else +CONFIGURE_ARGS+= --with-openssl="no" +.endif + .if exists(${LOCALBASE}/lib/libbac.so.${PORTVERSION:R:R}) && exists(${LOCALBASE}/lib/libbaccfg.so.${PORTVERSION:R:R}) LIB_DEPENDS+= bac.${PORTVERSION:R:R}:${PORTSDIR}/sysutils/bacula-client PLIST_SUB+= INDEP="@comment "