Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jun 2014 19:00:15 +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: r357193 - head/multimedia/libdvbpsi
Message-ID:  <201406091900.s59J0Fjf073602@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Mon Jun  9 19:00:15 2014
New Revision: 357193
URL: http://svnweb.freebsd.org/changeset/ports/357193
QAT: https://qat.redports.org/buildarchive/r357193/

Log:
  Fix build with gcc from base,  it doesn't undertand -Wno-tautological-constant-out-of-range-compare
  and has no flag to disable this warning
  
  Phabric:	D197
  Reviewed by:	bapt

Modified:
  head/multimedia/libdvbpsi/Makefile

Modified: head/multimedia/libdvbpsi/Makefile
==============================================================================
--- head/multimedia/libdvbpsi/Makefile	Mon Jun  9 18:27:38 2014	(r357192)
+++ head/multimedia/libdvbpsi/Makefile	Mon Jun  9 19:00:15 2014	(r357193)
@@ -16,13 +16,16 @@ OPTIONS_DEFINE=	DEBUG
 INSTALL_TARGET=	install-strip
 
 USES=	libtool pathfix tar:bzip2
-CFLAGS=	-Wno-tautological-constant-out-of-range-compare
+#CFLAGS=	-Wno-tautological-constant-out-of-range-compare
 
 GNU_CONFIGURE=	yes
 DEBUG_CONFIGURE_ON=		--enable-debug
 DEBUG_CONFIGURE_OFF=		--enable-release
 USE_LDCONFIG=	yes
 
+post-patch:
+	@${REINPLACE_CMD} 's/-Werror //' ${WRKSRC}/configure
+
 regression-test:
 	@(cd ${WRKSRC}/misc && ./test_dr)
 



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