aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libdvbpsi
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-06-10 03:00:15 +0800
committerantoine <antoine@FreeBSD.org>2014-06-10 03:00:15 +0800
commit568ff4fdbb6e91222ed25ceee416df2a030d41d9 (patch)
tree99c4fedd35d610e17acd03ffe334e5de80bc36d7 /multimedia/libdvbpsi
parente6975bf4586e384462c40e8ba2d66d2b0db9aa90 (diff)
downloadfreebsd-ports-gnome-568ff4fdbb6e91222ed25ceee416df2a030d41d9.tar.gz
freebsd-ports-gnome-568ff4fdbb6e91222ed25ceee416df2a030d41d9.tar.zst
freebsd-ports-gnome-568ff4fdbb6e91222ed25ceee416df2a030d41d9.zip
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
Diffstat (limited to 'multimedia/libdvbpsi')
-rw-r--r--multimedia/libdvbpsi/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/libdvbpsi/Makefile b/multimedia/libdvbpsi/Makefile
index 0f5d6b845fc4..a94830992e6b 100644
--- a/multimedia/libdvbpsi/Makefile
+++ b/multimedia/libdvbpsi/Makefile
@@ -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)