aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/kmplayer
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2003-09-03 13:55:57 +0800
committerwill <will@FreeBSD.org>2003-09-03 13:55:57 +0800
commit6d1c5092ee6ae173d837c7bb25c3bfe8947db091 (patch)
tree280c4fdfa29a6e071c98ca73686a0fd1cf63eb9c /multimedia/kmplayer
parentd118e6dba054fc82d0003c3f173b553bcffeba8a (diff)
downloadfreebsd-ports-gnome-6d1c5092ee6ae173d837c7bb25c3bfe8947db091.tar.gz
freebsd-ports-gnome-6d1c5092ee6ae173d837c7bb25c3bfe8947db091.tar.zst
freebsd-ports-gnome-6d1c5092ee6ae173d837c7bb25c3bfe8947db091.zip
Fix build on -CURRENT.
Submitted by: Andy Fawcett <andy@athame.co.uk> Tested by: deischen
Diffstat (limited to 'multimedia/kmplayer')
-rw-r--r--multimedia/kmplayer/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/multimedia/kmplayer/Makefile b/multimedia/kmplayer/Makefile
index 57bfe6f52c07..2d4f4b6d61d8 100644
--- a/multimedia/kmplayer/Makefile
+++ b/multimedia/kmplayer/Makefile
@@ -27,9 +27,10 @@ CONFIGURE_TARGET=
CONFIGURE_ARGS+=--with-x=${X11BASE} --disable-debug
post-patch:
+# remove -pedantic where possible to fix build errors on -CURRENT
# remove optimizations
@${REINPLACE_CMD} -e \
- 's|-O2||' \
+ 's|-O2||; s|-pedantic ||' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
# do not try to roll our own mimetypes
@${REINPLACE_CMD} -E -e \