Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2018 13:09:27 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488321 - head/multimedia/totem
Message-ID:  <201812251309.wBPD9RnG027575@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812251309.wBPD9RnG027575>