From owner-svn-ports-head@freebsd.org Thu Dec 6 14:52:16 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 950581330BE0; Thu, 6 Dec 2018 14:52:16 +0000 (UTC) (envelope-from cmt@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 38DDE6FD08; Thu, 6 Dec 2018 14:52:16 +0000 (UTC) (envelope-from cmt@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 1B80725096; Thu, 6 Dec 2018 14:52:16 +0000 (UTC) (envelope-from cmt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wB6EqF3m073813; Thu, 6 Dec 2018 14:52:15 GMT (envelope-from cmt@FreeBSD.org) Received: (from cmt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wB6EqFCB073812; Thu, 6 Dec 2018 14:52:15 GMT (envelope-from cmt@FreeBSD.org) Message-Id: <201812061452.wB6EqFCB073812@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cmt set sender to cmt@FreeBSD.org using -f From: Christoph Moench-Tegeder Date: Thu, 6 Dec 2018 14:52:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r486763 - head/graphics/gexiv2/files X-SVN-Group: ports-head X-SVN-Commit-Author: cmt X-SVN-Commit-Paths: head/graphics/gexiv2/files X-SVN-Commit-Revision: 486763 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 38DDE6FD08 X-Spamd-Result: default: False [-1.89 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-0.86)[-0.863,0]; NEURAL_HAM_SHORT(-0.94)[-0.944,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-0.08)[-0.083,0] 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: Thu, 06 Dec 2018 14:52:16 -0000 Author: cmt Date: Thu Dec 6 14:52:15 2018 New Revision: 486763 URL: https://svnweb.freebsd.org/changeset/ports/486763 Log: gexiv2: fix build with non-clang compilers clang silently ignores empty arguments, others do complain. Set up conditional arguments like the meson documentation recommends. PR: 233668 Reported by: Piotr Kubaj, jhibbits@ Modified: head/graphics/gexiv2/files/patch-gexiv2_meson.build Modified: head/graphics/gexiv2/files/patch-gexiv2_meson.build ============================================================================== --- head/graphics/gexiv2/files/patch-gexiv2_meson.build Thu Dec 6 14:26:22 2018 (r486762) +++ head/graphics/gexiv2/files/patch-gexiv2_meson.build Thu Dec 6 14:52:15 2018 (r486763) @@ -1,11 +1,16 @@ ---- gexiv2/meson.build.orig 2018-11-23 19:55:20 UTC -+++ gexiv2/meson.build -@@ -35,7 +35,7 @@ install_headers(gexiv2_headers, subdir : +--- gexiv2/meson.build.orig 2018-12-01 18:58:21.005598000 +0100 ++++ gexiv2/meson.build 2018-12-01 19:01:56.566055000 +0100 +@@ -35,10 +35,10 @@ # Static map file mapfile = 'gexiv2.map' -if host_machine.system() == 'darwin' +- vflag = '' +if host_machine.system() == 'darwin' or host_machine.system() == 'freebsd' - vflag = '' ++ vflag = [] else - vflag = '-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), mapfile) +- vflag = '-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), mapfile) ++ vflag = ['-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), mapfile)] + endif + + gexiv2 = library('gexiv2',