Sat Jan 28 15:33:26 2017 UTC ()
Add test target. Result:

# of expected passes            970
# of unexpected failures        450


(wiz)
diff -r1.29 -r1.30 pkgsrc/devel/libffi/Makefile

cvs diff -r1.29 -r1.30 pkgsrc/devel/libffi/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/libffi/Makefile 2016/11/03 11:40:28 1.29
+++ pkgsrc/devel/libffi/Makefile 2017/01/28 15:33:25 1.30
@@ -1,33 +1,37 @@ @@ -1,33 +1,37 @@
1# $NetBSD: Makefile,v 1.29 2016/11/03 11:40:28 maya Exp $ 1# $NetBSD: Makefile,v 1.30 2017/01/28 15:33:25 wiz Exp $
2 2
3DISTNAME= libffi-3.2.1 3DISTNAME= libffi-3.2.1
4PKGREVISION= 2 4PKGREVISION= 2
5CATEGORIES= devel 5CATEGORIES= devel
6MASTER_SITES= ftp://sourceware.org/pub/libffi/ 6MASTER_SITES= ftp://sourceware.org/pub/libffi/
7 7
8MAINTAINER= asau@inbox.ru 8MAINTAINER= asau@inbox.ru
9HOMEPAGE= https://www.sourceware.org/libffi/ 9HOMEPAGE= https://www.sourceware.org/libffi/
10COMMENT= Foreign function interface 10COMMENT= Foreign function interface
11LICENSE= mit 11LICENSE= mit
12 12
 13BUILD_DEPENDS+= dejagnu-[0-9]*:../../devel/dejagnu
 14
13USE_LANGUAGES= c c++ 15USE_LANGUAGES= c c++
14USE_LIBTOOL= yes 16USE_LIBTOOL= yes
15USE_TOOLS+= pkg-config 17USE_TOOLS+= pkg-config
16GNU_CONFIGURE= yes 18GNU_CONFIGURE= yes
17CONFIGURE_ARGS= --includedir=${PREFIX}/include 19CONFIGURE_ARGS= --includedir=${PREFIX}/include
18PKGCONFIG_OVERRIDE+= libffi.pc.in 20PKGCONFIG_OVERRIDE+= libffi.pc.in
19INFO_FILES= yes 21INFO_FILES= yes
20 22
 23TEST_TARGET= check
 24
21.include "../../mk/compiler.mk" 25.include "../../mk/compiler.mk"
22# The Compaq C frontend groks .s, but not .S. Assemble osf.S directly w/ as(1). 26# The Compaq C frontend groks .s, but not .S. Assemble osf.S directly w/ as(1).
23pre-build: 27pre-build:
24.if !empty(PKGSRC_COMPILER:Mccc) 28.if !empty(PKGSRC_COMPILER:Mccc)
25 cd ${WRKSRC} && ./libtool --mode=compile --tag=CC as -I. -Iinclude -o src/alpha/osf.lo -c src/alpha/osf.S 29 cd ${WRKSRC} && ./libtool --mode=compile --tag=CC as -I. -Iinclude -o src/alpha/osf.lo -c src/alpha/osf.S
26.endif 30.endif
27 31
28# Since we don't have "TEST_DEPENDS", we implement it as a hack: 32# Since we don't have "TEST_DEPENDS", we implement it as a hack:
29.include "../../mk/bsd.prefs.mk" 33.include "../../mk/bsd.prefs.mk"
30 34
31.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss]) 35.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
32TEST_TARGET= check 36TEST_TARGET= check
33TEST_ENV= # empty? 37TEST_ENV= # empty?