summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2018-12-25 13:09:27 +0000
committerMark Linimon <linimon@FreeBSD.org>2018-12-25 13:09:27 +0000
commitb39c2696f5fdfcbd2a6077d5ef52b45c55ccbe5e (patch)
tree7cf060e12695d972f61e8b79ed93fd1f85fb1781
parent- Update to 1.10.1 (diff)
Base GCC can't use -Wno-unused-but-set-variable option. Remove it when
base GCC is used. While here, add USES=gl. PR: 233910 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket)
Notes
Notes: svn path=/head/; revision=488321
-rw-r--r--multimedia/totem/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/multimedia/totem/Makefile b/multimedia/totem/Makefile
index 496d49796f3d..50f296221866 100644
--- a/multimedia/totem/Makefile
+++ b/multimedia/totem/Makefile
@@ -36,7 +36,7 @@ RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \
PORTSCOUT= limitw:1,even
-USES= desktop-file-utils gettext gnome localbase meson \
+USES= desktop-file-utils gettext gl gnome localbase meson \
pkgconfig python:3.4+ tar:xz
USE_GNOME= cairo gtk30 intlhack introspection libxml2 nautilus3 \
pygobject3
@@ -78,4 +78,10 @@ pre-everything::
@${ECHO_MSG} "===> Define WITH_DVD_DEVICE if you want to change the default"
@${ECHO_MSG} "===> For example, 'make WITH_DVD_DEVICE=\"/dev/somedevice\"'"
+post-patch:
+.if exists(/usr/lib/libstdc++.so)
+ ${REINPLACE_CMD} -e '/-Wno-unused-but-set-variable/d' \
+ ${WRKSRC}/src/plugins/meson.build
+.endif
+
.include <bsd.port.mk>