Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2017 21:14:10 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448582 - head/devel/libffi
Message-ID:  <201708222114.v7MLEAYm007966@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Tue Aug 22 21:14:10 2017
New Revision: 448582
URL: https://svnweb.freebsd.org/changeset/ports/448582

Log:
  - Remove nonsense TESTS option
  - Use the framework for regression tests
  
  With hat:	portmgr

Modified:
  head/devel/libffi/Makefile

Modified: head/devel/libffi/Makefile
==============================================================================
--- head/devel/libffi/Makefile	Tue Aug 22 21:12:48 2017	(r448581)
+++ head/devel/libffi/Makefile	Tue Aug 22 21:14:10 2017	(r448582)
@@ -3,6 +3,7 @@
 
 PORTNAME=	libffi
 PORTVERSION=	3.2.1
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	SOURCEWARE/${PORTNAME}
 
@@ -18,14 +19,10 @@ USES=		libtool pathfix
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 
-OPTIONS_DEFINE=	TESTS
-
-TESTS_DESC=		Include tools for test suite
-TESTS_BUILD_DEPENDS=	${TEST_DEPENDS}
-
 INSTALL_TARGET=	install-strip
 INFO=		libffi
 PLIST_SUB=	PORTVERSION=${PORTVERSION}
+TEST_TARGET=	check
 
 post-patch:
 	@${REINPLACE_CMD} -e 's| -Wno-psabi||g' \
@@ -36,8 +33,5 @@ post-install:
 	    ${STAGEDIR}${PREFIX}/include/
 	@${LN} -sf ../lib/libffi-${PORTVERSION}/include/ffitarget.h \
 	    ${STAGEDIR}${PREFIX}/include/
-
-regression-test: build
-	@(cd ${WRKSRC} && ${MAKE_CMD} check)
 
 .include <bsd.port.mk>



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