svn commit: r357193 - head/multimedia/libdvbpsi

Antoine Brodin antoine at FreeBSD.org
Mon Jun 9 19:00:16 UTC 2014


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)
 


More information about the svn-ports-head mailing list