From owner-svn-ports-all@freebsd.org Sat Sep 10 21:38:23 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 04324BD50C1; Sat, 10 Sep 2016 21:38:23 +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 9F316AC9; Sat, 10 Sep 2016 21:38:22 +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 u8ALcLr1033308; Sat, 10 Sep 2016 21:38:21 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8ALcL8v033307; Sat, 10 Sep 2016 21:38:21 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201609102138.u8ALcL8v033307@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 21:38:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421745 - head/mail/tkrat2 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 21:38:23 -0000 Author: marino Date: Sat Sep 10 21:38:21 2016 New Revision: 421745 URL: https://svnweb.freebsd.org/changeset/ports/421745 Log: mail/tkrat2: Properly support SSL requirement and clean up the port Modified: head/mail/tkrat2/Makefile Modified: head/mail/tkrat2/Makefile ============================================================================== --- head/mail/tkrat2/Makefile Sat Sep 10 21:29:29 2016 (r421744) +++ head/mail/tkrat2/Makefile Sat Sep 10 21:38:21 2016 (r421745) @@ -17,6 +17,9 @@ LIB_DEPENDS= libtcl84.so:lang/tcl84 \ libtk84.so:x11-toolkits/tk84 \ libc-client4.so:mail/cclient +BROKEN_sparc64= fails to build + +USES= ssl USE_XORG= x11 xt GNU_CONFIGURE= yes @@ -25,6 +28,7 @@ CONFIGURE_ARGS= --with-tcl-config=${PREF --with-tk-config=${PREFIX}/lib/tk8.4 \ --with-tcl-include=${PREFIX}/include/tcl8.4 \ --with-tk-include=${PREFIX}/include/tk8.4 \ + --with-ssl-dir=${OPENSSLBASE} \ --prefix=${PREFIX} MAKE_ARGS+= -j2 -B @@ -33,12 +37,6 @@ OPTIONS_DEFINE= DOCS DOCFILES= CONFIGURATION COPYRIGHT README doc/interface doc/userprocs \ doc/userproc.example -.include - -.if ${ARCH} == "sparc64" -BROKEN= Build fails on sparc64 -.endif - post-patch: @${REINPLACE_CMD} '-e s|@INSTALL_PREFIX@|${STAGEDIR}${PREFIX}|g' \ ${WRKSRC}/lib/Makefile.in ${WRKSRC}/util/Makefile.in \ @@ -51,17 +49,22 @@ post-patch: ${WRKSRC}/misc/Makefile.in @${REINPLACE_CMD} '-e s|@bindir@|/bin|g' ${WRKSRC}/tkrat/Makefile.in @${REINPLACE_CMD} '-e s|@mandir@|/man|g' ${WRKSRC}/doc/Makefile.in + @${REINPLACE_CMD} -e 's|/usr/include/openssl|$$(SSLDIR)|g' \ + ${WRKSRC}/imap/src/osdep/unix/Makefile + @${REINPLACE_CMD} -e 's|SSLDIR=/usr SSLINCLUDE=/usr/include/openssl|SSLDIR=${OPENSSLBASE} SSLINCLUDE=${OPENSSLINC}|g' \ + ${WRKSRC}/imap/Makefile -post-install: -.if ${PORT_OPTIONS:MDOCS} +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${DOCFILES} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor -.endif + +post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/ratatosk - ${INSTALL_DATA} ${FILESDIR}/ratatoskrc ${STAGEDIR}${PREFIX}/lib/ratatosk + ${INSTALL_DATA} ${FILESDIR}/ratatoskrc \ + ${STAGEDIR}${PREFIX}/lib/ratatosk ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/tkrat/ratatosk2.1.so ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/tkrat/blt_busy1.0.so -.include +.include