summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-05-11 07:47:17 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-05-11 07:47:17 +0000
commit1b5eda48af671a193cd2134b96aec1341080054d (patch)
treec48c806c38097ce411e75fe7da24f4200b969240 /multimedia
parent- extend MASTER_SITES (diff)
- allow build with more warnings enabled, NO_WERROR=yes
- no response from maintainer since 2003-04-05
Notes
Notes: svn path=/head/; revision=80656
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libdvdread/Makefile5
-rw-r--r--multimedia/libmpeg2/Makefile5
2 files changed, 10 insertions, 0 deletions
diff --git a/multimedia/libdvdread/Makefile b/multimedia/libdvdread/Makefile
index 1dade657a881..b2ee81ee7321 100644
--- a/multimedia/libdvdread/Makefile
+++ b/multimedia/libdvdread/Makefile
@@ -22,6 +22,11 @@ INSTALLS_SHLIB= yes
DOC_FILES= AUTHORS COPYING NEWS README TODO
+# allow build with more warnings enabled
+.if defined(NO_WERROR)
+CONFIGURE_ARGS+= --disable-warnings
+.endif
+
# ugly hack to have libdvdread directly depend on libdvdcss since
# it already does for practical reasons even though not for compile
# time ones
diff --git a/multimedia/libmpeg2/Makefile b/multimedia/libmpeg2/Makefile
index 7826cfb304cb..050b9db17948 100644
--- a/multimedia/libmpeg2/Makefile
+++ b/multimedia/libmpeg2/Makefile
@@ -40,6 +40,11 @@ CONFIGURE_ARGS+= --enable-sdl
CONFIGURE_ARGS+= --disable-sdl
.endif
+# allow build with more warnings enabled
+.if defined(NO_WERROR)
+CONFIGURE_ARGS+= --disable-warnings
+.endif
+
pre-everything::
@${ECHO_MSG} "====>"
.ifndef(WITH_SDL)