Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2015 10:12:21 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r383851 - in branches/2015Q2/multimedia/mkvalidator: . files
Message-ID:  <201504121012.t3CACLIG005056@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Sun Apr 12 10:12:20 2015
New Revision: 383851
URL: https://svnweb.freebsd.org/changeset/ports/383851

Log:
  MFH: r383820
  
  - Update to upstream version 0.5.0 [1]
  - General port cleanup [1]
  - Fix sporadic build failures on SMP systems [2]
  - Un-break build on arm [2]
  
  PR:		199247
  Submitted by:	tkato432@yahoo.com [1]
  Reviewed by:	riggs [2]
  Approved by:	ports-secteam (delphij)

Added:
  branches/2015Q2/multimedia/mkvalidator/files/patch-corec-tools-coremake-gcc_linux_arm.build
     - copied unchanged from r383820, head/multimedia/mkvalidator/files/patch-corec-tools-coremake-gcc_linux_arm.build
Modified:
  branches/2015Q2/multimedia/mkvalidator/Makefile
  branches/2015Q2/multimedia/mkvalidator/distinfo
  branches/2015Q2/multimedia/mkvalidator/pkg-descr
Directory Properties:
  branches/2015Q2/   (props changed)

Modified: branches/2015Q2/multimedia/mkvalidator/Makefile
==============================================================================
--- branches/2015Q2/multimedia/mkvalidator/Makefile	Sun Apr 12 10:11:35 2015	(r383850)
+++ branches/2015Q2/multimedia/mkvalidator/Makefile	Sun Apr 12 10:12:20 2015	(r383851)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	mkvalidator
-PORTVERSION=	0.4.2
+PORTVERSION=	0.5.0
 CATEGORIES=	multimedia
 MASTER_SITES=	SF/matroska/${PORTNAME}/
 
@@ -11,23 +11,35 @@ COMMENT=	Command line tool to verify Mat
 LICENSE=	BSD3CLAUSE BSD4CLAUSE GPLv2
 LICENSE_COMB=	multi
 
-HAS_CONFIGURE=	yes
+BUILD_WRKSRC=	${WRKSRC}/${PORTNAME}
 
-USES=		iconv gmake tar:bzip2
+USES=		gmake iconv tar:bzip2
+HAS_CONFIGURE=	yes
+MAKE_ENV=	V=1
+MAKEFILE=	GNUmakefile
 
-CFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib ${ICONV_LIB}
+CFLAGS+=	-I${ICONV_PREFIX}/include
+LIBS+=		-L${ICONV_PREFIX}/lib ${ICONV_LIB}
 
-MAKE_ENV+=	"LFLAGS=${LDFLAGS}"
-MAKEFILE=	GNUmakefile
-BUILD_WRKSRC=	${WRKSRC}/${PORTNAME}
+PLIST_FILES=	bin/mkvalidator bin/mkvtree
 
-PLIST_FILES=	bin/mkvalidator
+BROKEN_sparc64=	Build broken on big endian architectures
 
-BROKEN_sparc64=	Does not install on sparc64: gmake: GNUmakefile: No such file or directory
+MAKE_JOBS_UNSAFE=	yes
 
-post-extract:
-	@${REINPLACE_CMD} -e 's,/usr/local,$$(DESTDIR)$$(PREFIX),g' ${WRKSRC}/corec/tools/coremake/gcc_mak.inc
-	@${RM} ${WRKSRC}/libmatroska2/test/test.proj
+post-patch:
+	${REINPLACE_CMD} -e \
+		'/STRIP/s|strip|${STRIP_CMD:T}| ; \
+		 /CCFLAGS/s|-O3 .* -W|-W|' \
+		${WRKSRC}/corec/tools/coremake/gcc_linux*.build
+	${REINPLACE_CMD} -e \
+		's|/usr/local|$$(DESTDIR)$$(PREFIX)|g' \
+		${WRKSRC}/corec/tools/coremake/gcc_mak.inc
+	${REINPLACE_CMD} -e \
+		's|arm-none-linux-gnueabi-gcc|${CC}| ; \
+		 s|arm-none-linux-gnueabi-g++|${CXX}| ; \
+		 s|arm-none-linux-gnueabi-ar|${AR}| ; \
+		 s|arm-none-linux-gnueabi-strip|${STRIP_CMD}|' \
+		${WRKSRC}/corec/tools/coremake/gcc_linux_arm.build
 
 .include <bsd.port.mk>

Modified: branches/2015Q2/multimedia/mkvalidator/distinfo
==============================================================================
--- branches/2015Q2/multimedia/mkvalidator/distinfo	Sun Apr 12 10:11:35 2015	(r383850)
+++ branches/2015Q2/multimedia/mkvalidator/distinfo	Sun Apr 12 10:12:20 2015	(r383851)
@@ -1,2 +1,2 @@
-SHA256 (mkvalidator-0.4.2.tar.bz2) = 9f626b8ae790642d63533da00639c61ef9b0548f6e75cd17544acb352efab77f
-SIZE (mkvalidator-0.4.2.tar.bz2) = 579080
+SHA256 (mkvalidator-0.5.0.tar.bz2) = c3e72e5b49d32174415b9273ea8d52380e09ac63c8dc7db684104021c711c104
+SIZE (mkvalidator-0.5.0.tar.bz2) = 587942

Copied: branches/2015Q2/multimedia/mkvalidator/files/patch-corec-tools-coremake-gcc_linux_arm.build (from r383820, head/multimedia/mkvalidator/files/patch-corec-tools-coremake-gcc_linux_arm.build)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2015Q2/multimedia/mkvalidator/files/patch-corec-tools-coremake-gcc_linux_arm.build	Sun Apr 12 10:12:20 2015	(r383851, copy of r383820, head/multimedia/mkvalidator/files/patch-corec-tools-coremake-gcc_linux_arm.build)
@@ -0,0 +1,13 @@
+--- corec/tools/coremake/gcc_linux_arm.build.orig	2012-12-16 11:29:34.000000000 +0100
++++ corec/tools/coremake/gcc_linux_arm.build	2015-04-11 19:30:30.119705652 +0200
+@@ -19,8 +19,8 @@
+ 
+ #define GLIBC
+ 
+-#define CCFLAGS -DARM -Wno-multichar -O3 -mno-apcs-frame -fomit-frame-pointer -fsigned-char -march=armv4t -mtune=xscale -fvisibility=hidden -DRESOURCE_COREC
+-#define SFLAGS -DARM -Wno-multichar -O3 -mno-apcs-frame -fomit-frame-pointer -fsigned-char -mcpu=iwmmxt -mtune=xscale -D_HIDDEN
++#define CCFLAGS -DARM -Wno-multichar -O3 -fomit-frame-pointer -DRESOURCE_COREC
++#define SFLAGS -DARM -Wno-multichar -O3 -fomit-frame-pointer -D_HIDDEN
+ #define SHFLAGS -shared -Wl,--strip-all
+ 
+ #include "gcc.inc"

Modified: branches/2015Q2/multimedia/mkvalidator/pkg-descr
==============================================================================
--- branches/2015Q2/multimedia/mkvalidator/pkg-descr	Sun Apr 12 10:11:35 2015	(r383850)
+++ branches/2015Q2/multimedia/mkvalidator/pkg-descr	Sun Apr 12 10:12:20 2015	(r383851)
@@ -1,6 +1,6 @@
-mkvalidator is a simple command line tool to verify Matroska and WebM files for
-spec conformance. It checks the various bogus or missing key elements against
-the EBML DocType version of the file and reports the errors/warnings in the
-command line.
+mkvalidator is a simple command line tool to verify Matroska and WebM
+files for spec conformance. It checks the various bogus or missing key
+elements against the EBML DocType version of the file and reports the
+errors/warnings in the command line.
 
 WWW: http://www.matroska.org/downloads/mkvalidator.html



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