From owner-svn-ports-head@freebsd.org Tue Nov 27 16:14:39 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B06F311523E9; Tue, 27 Nov 2018 16:14:39 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFD58378E; Tue, 27 Nov 2018 16:14:39 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 301A41DAB0; Tue, 27 Nov 2018 16:14:39 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wARGEd42023115; Tue, 27 Nov 2018 16:14:39 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wARGEdmQ023114; Tue, 27 Nov 2018 16:14:39 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201811271614.wARGEdmQ023114@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Tue, 27 Nov 2018 16:14:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r486017 - head/multimedia/smpeg X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/multimedia/smpeg X-SVN-Commit-Revision: 486017 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4DFD58378E X-Spamd-Result: default: False [1.15 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_SHORT(0.04)[0.038,0]; NEURAL_SPAM_MEDIUM(0.64)[0.643,0]; NEURAL_SPAM_LONG(0.47)[0.465,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2018 16:14:39 -0000 Author: linimon Date: Tue Nov 27 16:14:38 2018 New Revision: 486017 URL: https://svnweb.freebsd.org/changeset/ports/486017 Log: Base gcc doesn't support -Wno-error-narrowing flag. Add it only when the compiler used is Clang. PR: 233407 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Modified: head/multimedia/smpeg/Makefile Modified: head/multimedia/smpeg/Makefile ============================================================================== --- head/multimedia/smpeg/Makefile Tue Nov 27 16:10:16 2018 (r486016) +++ head/multimedia/smpeg/Makefile Tue Nov 27 16:14:38 2018 (r486017) @@ -14,7 +14,7 @@ COMMENT= Free MPEG1 video player library with sound su LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING -USES= gmake libtool:build +USES= compiler gmake libtool:build USE_SDL= sdl USE_LDCONFIG= yes @@ -27,7 +27,8 @@ CONFIGURE_ENV= GLBASE="${LOCALBASE}" \ CONFIGURE_ARGS= --disable-opengl-player \ --disable-gtk-player \ --enable-mmx -CFLAGS+= -Wno-error-narrowing +CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} +CFLAGS_clang= -Wno-error-narrowing LDFLAGS_i386= -Wl,-znotext MAKE_ARGS= LIBTOOL=${LOCALBASE}/bin/libtool INSTALL_TARGET= install-strip