diff options
author | marino <marino@FreeBSD.org> | 2016-09-11 04:03:00 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-09-11 04:03:00 +0800 |
commit | 68a82e9fd1c58e774fbdd5cea246a919e4ed297f (patch) | |
tree | 06b51016d7d53a278c28066cfaa396a34a8175ff /mail | |
parent | 131744d36a1865655c41d7320e77f5a178405859 (diff) | |
download | freebsd-ports-gnome-68a82e9fd1c58e774fbdd5cea246a919e4ed297f.tar.gz freebsd-ports-gnome-68a82e9fd1c58e774fbdd5cea246a919e4ed297f.tar.zst freebsd-ports-gnome-68a82e9fd1c58e774fbdd5cea246a919e4ed297f.zip |
mail/mailsync: support building with any SSL base
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mailsync/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/mail/mailsync/Makefile b/mail/mailsync/Makefile index 2df5f50232cb..82b1f3910da6 100644 --- a/mail/mailsync/Makefile +++ b/mail/mailsync/Makefile @@ -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 |