svn commit: r486763 - head/graphics/gexiv2/files
Christoph Moench-Tegeder
cmt at FreeBSD.org
Thu Dec 6 14:52:16 UTC 2018
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, at 0@/@1@'.format(meson.current_source_dir(), mapfile)
+- vflag = '-Wl,--version-script, at 0@/@1@'.format(meson.current_source_dir(), mapfile)
++ vflag = ['-Wl,--version-script, at 0@/@1@'.format(meson.current_source_dir(), mapfile)]
+ endif
+
+ gexiv2 = library('gexiv2',
More information about the svn-ports-all
mailing list