svn commit: r399214 - in head: archivers/gcpio archivers/gtar audio/flac audio/libao audio/libogg audio/libvorbis audio/opus

Christian Weisgerber naddy at FreeBSD.org
Tue Oct 13 20:07:56 UTC 2015


Author: naddy
Date: Tue Oct 13 20:07:54 2015
New Revision: 399214
URL: https://svnweb.freebsd.org/changeset/ports/399214

Log:
  Use the new test framework in my ports, if applicable.
  While here, also strip more libraries.

Modified:
  head/archivers/gcpio/Makefile
  head/archivers/gtar/Makefile
  head/audio/flac/Makefile
  head/audio/libao/Makefile
  head/audio/libogg/Makefile
  head/audio/libvorbis/Makefile
  head/audio/opus/Makefile

Modified: head/archivers/gcpio/Makefile
==============================================================================
--- head/archivers/gcpio/Makefile	Tue Oct 13 19:31:43 2015	(r399213)
+++ head/archivers/gcpio/Makefile	Tue Oct 13 20:07:54 2015	(r399214)
@@ -19,6 +19,7 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--program-prefix=g \
 		--disable-silent-rules \
 		--with-rmt=/etc/rmt
+TEST_TARGET=	check
 
 INFO=		cpio
 
@@ -28,7 +29,4 @@ OPTIONS_SUB=	yes
 NLS_USES=	gettext
 NLS_CONFIGURE_ENABLE=	nls
 
-regression-test: build
-	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check
-
 .include <bsd.port.mk>

Modified: head/archivers/gtar/Makefile
==============================================================================
--- head/archivers/gtar/Makefile	Tue Oct 13 19:31:43 2015	(r399213)
+++ head/archivers/gtar/Makefile	Tue Oct 13 20:07:54 2015	(r399214)
@@ -27,6 +27,10 @@ CONFIGURE_ENV=	DEFAULT_ARCHIVE=/dev/sa0 
 # supply result to skip a test that will abort configure if run as root
 CONFIGURE_ENV+=	gl_cv_func_mknod_works=yes
 
+# Tests 161 163 are known to fail because path resolution of ".."
+# in a removed directory fails.
+#TEST_TARGET=	check
+
 OPTIONS_DEFINE=	NLS STATIC
 OPTIONS_SUB=	yes
 
@@ -39,10 +43,4 @@ STATIC_CONFIGURE_ENV=	SHLIBEXT=""
 STATIC_VARS=	STATIC_ARGS=build
 STATIC_VARS_OFF=	STATIC_ARGS=lib
 
-# Tests 161 163 are known to fail because path resolution of ".."
-# in a removed directory fails.
-
-regression-test: build
-	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check
-
 .include <bsd.port.mk>

Modified: head/audio/flac/Makefile
==============================================================================
--- head/audio/flac/Makefile	Tue Oct 13 19:31:43 2015	(r399213)
+++ head/audio/flac/Makefile	Tue Oct 13 20:07:54 2015	(r399214)
@@ -3,6 +3,7 @@
 
 PORTNAME=	flac
 PORTVERSION=	1.3.1
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	http://downloads.xiph.org/releases/flac/
 
@@ -21,6 +22,8 @@ CONFIGURE_ARGS=	--enable-static \
 		--disable-silent-rules \
 		--disable-thorough-tests \
 		--disable-xmms-plugin
+INSTALL_TARGET=	install-strip
+TEST_TARGET=	check
 
 .include <bsd.port.options.mk>
 
@@ -34,7 +37,4 @@ post-install:
 	    ${STAGEDIR}${PREFIX}/man/man1/flac.1
 	${RM} ${STAGEDIR}${PREFIX}/man/man1/flac.1.bak
 
-regression-test: build
-	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check
-
 .include <bsd.port.mk>

Modified: head/audio/libao/Makefile
==============================================================================
--- head/audio/libao/Makefile	Tue Oct 13 19:31:43 2015	(r399213)
+++ head/audio/libao/Makefile	Tue Oct 13 20:07:54 2015	(r399214)
@@ -3,7 +3,7 @@
 
 PORTNAME=	libao
 PORTVERSION=	1.2.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio
 MASTER_SITES=	http://downloads.xiph.org/releases/ao/
 
@@ -15,6 +15,8 @@ USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-static \
 		--disable-arts
+INSTALL_TARGET=	install-strip
+
 # do not install
 MAKE_ARGS=	ckport_DATA=""
 

Modified: head/audio/libogg/Makefile
==============================================================================
--- head/audio/libogg/Makefile	Tue Oct 13 19:31:43 2015	(r399213)
+++ head/audio/libogg/Makefile	Tue Oct 13 20:07:54 2015	(r399214)
@@ -15,13 +15,11 @@ USES=		libtool pathfix tar:xz
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
+TEST_TARGET=	check
 
 OPTIONS_DEFINE=	DOCS
 
 post-stage:
 	${LN} -s libogg.so.0 ${STAGEDIR}${PREFIX}/lib/libogg.so.8
 
-regression-test: build
-	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check
-
 .include <bsd.port.mk>

Modified: head/audio/libvorbis/Makefile
==============================================================================
--- head/audio/libvorbis/Makefile	Tue Oct 13 19:31:43 2015	(r399213)
+++ head/audio/libvorbis/Makefile	Tue Oct 13 20:07:54 2015	(r399214)
@@ -18,6 +18,7 @@ USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-ogg=${LOCALBASE}
 INSTALL_TARGET=	install-strip
+TEST_TARGET=	check
 
 OPTIONS_DEFINE=	DOCS
 
@@ -26,7 +27,4 @@ post-stage:
 	${LN} -s libvorbis.so.0 ${STAGEDIR}${PREFIX}/lib/libvorbis.so.4
 	${LN} -s libvorbisfile.so.3 ${STAGEDIR}${PREFIX}/lib/libvorbisfile.so.6
 
-regression-test: build
-	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check
-
 .include <bsd.port.mk>

Modified: head/audio/opus/Makefile
==============================================================================
--- head/audio/opus/Makefile	Tue Oct 13 19:31:43 2015	(r399213)
+++ head/audio/opus/Makefile	Tue Oct 13 20:07:54 2015	(r399214)
@@ -2,7 +2,7 @@
 
 PORTNAME=	opus
 PORTVERSION=	1.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio
 MASTER_SITES=	http://downloads.xiph.org/releases/opus/ \
 		MOZILLA/opus
@@ -21,9 +21,8 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-custom-modes \
 		--disable-maintainer-mode \
 		--disable-doc   # requires doxygen
-
-regression-test: build
-	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check
+INSTALL_TARGET=	install-strip
+TEST_TARGET=	check
 
 .include <bsd.port.options.mk>
 


More information about the svn-ports-all mailing list