svn commit: r488321 - head/multimedia/totem
Mark Linimon
linimon at FreeBSD.org
Tue Dec 25 13:09:28 UTC 2018
Author: linimon
Date: Tue Dec 25 13:09:27 2018
New Revision: 488321
URL: https://svnweb.freebsd.org/changeset/ports/488321
Log:
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)
Modified:
head/multimedia/totem/Makefile
Modified: head/multimedia/totem/Makefile
==============================================================================
--- head/multimedia/totem/Makefile Tue Dec 25 12:33:48 2018 (r488320)
+++ head/multimedia/totem/Makefile Tue Dec 25 13:09:27 2018 (r488321)
@@ -36,7 +36,7 @@ RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/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
@@ -77,5 +77,11 @@ pre-everything::
@${ECHO_MSG} "===> The default DVD device is ${DEFAULT_DVD_DEVICE}"
@${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>
More information about the svn-ports-all
mailing list