1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

mail/mailsync: support building with any SSL base

This commit is contained in:
John Marino 2016-09-10 20:03:00 +00:00
parent e22d4b5845
commit 37aa644651
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421737

View File

@ -15,15 +15,19 @@ LICENSE= GPLv2
LIB_DEPENDS= libc-client4.so:mail/cclient
USES= gmake
USE_OPENSSL= yes
USES= gmake ssl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-c-client=${LOCALBASE}
CONFIGURE_ARGS= --with-c-client=${LOCALBASE} \
--with-openssl=${OPENSSLBASE}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
${REINPLACE_CMD} -e 's|\($withval\),$${OPENSSLLOCATIONS}|\1|g' \
${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/mailsync ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/mailsync.1 ${STAGEDIR}${MANPREFIX}/man/man1