Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Mar 2013 10:27:00 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r313337 - in head/devel/libffi: . files
Message-ID:  <201303031027.r23AR0uA089677@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Sun Mar  3 10:27:00 2013
New Revision: 313337
URL: http://svnweb.freebsd.org/changeset/ports/313337

Log:
  - Update to 3.0.12
  - Remove patches that were included upstream
  - Rename TEST option to TESTS
  - Add TEST_DEPENDS & regression-test: target
  - Remove post-build: so tests dont run unconditionally
  
  Approved by:	eadler
  Discussed with:	kwm, milki, flo, pgj

Deleted:
  head/devel/libffi/files/
Modified:
  head/devel/libffi/Makefile
  head/devel/libffi/distinfo

Modified: head/devel/libffi/Makefile
==============================================================================
--- head/devel/libffi/Makefile	Sun Mar  3 10:14:17 2013	(r313336)
+++ head/devel/libffi/Makefile	Sun Mar  3 10:27:00 2013	(r313337)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	libffi
-PORTVERSION=	3.0.11
+PORTVERSION=	3.0.12
 CATEGORIES=	devel
 MASTER_SITES=	SOURCEWARE
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -10,13 +10,15 @@ MASTER_SITE_SUBDIR=	${PORTNAME}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Foreign Function Interface
 
-OPTIONS_DEFINE=	TEST
-TEST_DESC=	Run regression test suite
+TEST_DEPENDS=	runtest:${PORTSDIR}/misc/dejagnu
+
+OPTIONS_DEFINE=	TESTS
+TESTS_DESC=	Include tools for test suite
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MTEST}
-BUILD_DEPENDS+=	runtest:${PORTSDIR}/misc/dejagnu
+.if ${PORT_OPTIONS:MTESTS}
+BUILD_DEPENDS:=	${TEST_DEPENDS}
 .endif
 
 GNU_CONFIGURE=	yes
@@ -29,15 +31,13 @@ INFO=		libffi
 
 MAN3=		ffi.3 ffi_call.3 ffi_prep_cif.3 ffi_prep_cif_var.3
 
-.if ${PORT_OPTIONS:MTEST}
-post-build:
-	@cd ${WRKSRC} && ${MAKE} check
-.endif
-
 post-install:
 	@${LN} -sf ../lib/libffi-${PORTVERSION}/include/ffi.h \
 	    ${PREFIX}/include/
 	@${LN} -sf ../lib/libffi-${PORTVERSION}/include/ffitarget.h \
 	    ${PREFIX}/include/
 
+regression-test: build
+	@cd ${WRKSRC} && ${MAKE} check
+
 .include <bsd.port.mk>

Modified: head/devel/libffi/distinfo
==============================================================================
--- head/devel/libffi/distinfo	Sun Mar  3 10:14:17 2013	(r313336)
+++ head/devel/libffi/distinfo	Sun Mar  3 10:27:00 2013	(r313337)
@@ -1,2 +1,2 @@
-SHA256 (libffi-3.0.11.tar.gz) = 70bfb01356360089aa97d3e71e3edf05d195599fd822e922e50d46a0055a6283
-SIZE (libffi-3.0.11.tar.gz) = 794220
+SHA256 (libffi-3.0.12.tar.gz) = 2ea0db90c2bbcc907c3aefc3f76e9dfc3b35c7a0fb75a4319f5248e0172c1e9e
+SIZE (libffi-3.0.12.tar.gz) = 844641



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