From owner-svn-ports-all@freebsd.org Sat Sep 10 20:03:01 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6C305BD5A56; Sat, 10 Sep 2016 20:03:01 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3C07FEBD; Sat, 10 Sep 2016 20:03:01 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8AK30DM098946; Sat, 10 Sep 2016 20:03:00 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8AK30Fj098945; Sat, 10 Sep 2016 20:03:00 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201609102003.u8AK30Fj098945@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Sat, 10 Sep 2016 20:03:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421737 - head/mail/mailsync X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2016 20:03:01 -0000 Author: marino Date: Sat Sep 10 20:03:00 2016 New Revision: 421737 URL: https://svnweb.freebsd.org/changeset/ports/421737 Log: mail/mailsync: support building with any SSL base Modified: head/mail/mailsync/Makefile Modified: head/mail/mailsync/Makefile ============================================================================== --- head/mail/mailsync/Makefile Sat Sep 10 19:58:54 2016 (r421736) +++ head/mail/mailsync/Makefile Sat Sep 10 20:03:00 2016 (r421737) @@ -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