Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jul 2018 08:37:37 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473954 - head/mail/opendkim
Message-ID:  <201807050837.w658bbkF097068@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Jul  5 08:37:37 2018
New Revision: 473954
URL: https://svnweb.freebsd.org/changeset/ports/473954

Log:
  - Switch to new test framework
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/mail/opendkim/Makefile

Modified: head/mail/opendkim/Makefile
==============================================================================
--- head/mail/opendkim/Makefile	Thu Jul  5 08:37:09 2018	(r473953)
+++ head/mail/opendkim/Makefile	Thu Jul  5 08:37:37 2018	(r473954)
@@ -30,6 +30,7 @@ USE_PERL5=	run
 SHEBANG_FILES=	opendkim/opendkim-genkey* reputation/opendkim-* stats/opendkim-* \
 		reprrd/opendkim-reprrdimport*
 USE_LDCONFIG=	yes
+TEST_TARGET=	check  # XXX: 1 of 30 tests fails
 
 PORTDOCS=	*
 
@@ -164,19 +165,14 @@ pre-configure:
 	    -e '/PKG_CONFIG/s/cyrussasl/libsasl2/'			 \
 	    ${WRKSRC}/configure
 
-post-patch:
-.if ${PORT_OPTIONS:MLCOV}
+post-patch-LCOV-on:
 	${CP} ${FILESDIR}/lcov-helper.sh ${WRKSRC}/libopendkim/tests/
 	${CP} ${FILESDIR}/lcov-helper.sh ${WRKSRC}/opendkim/tests/
 	${FIND} ${WRKSRC} -type f -name \*-helper.sh -exec ${CHMOD} 755 {} +
-.endif
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail
 	${INSTALL_DATA} ${WRKSRC}/opendkim/opendkim.conf.sample \
 	    ${STAGEDIR}${PREFIX}/etc/mail/
-
-regression-test: build
-	cd ${WRKSRC} ; ${MAKE} check
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807050837.w658bbkF097068>