summaryrefslogtreecommitdiff
path: root/sysutils/osinfo-db-tools/files/patch-meson.build
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2019-12-08 11:44:24 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2019-12-08 11:44:24 +0000
commitc1ee6c7e4baa799f81907cbc24ebb9a5228d9d64 (patch)
tree8f62a7c734142cf80e0b607111d9aea7bb0292dd /sysutils/osinfo-db-tools/files/patch-meson.build
parentsecurity/{libscep,p5-Crypt-LibSCEP}: upgrade 0.06 -> 0.08 (diff)
sysutils/osinfo-db-tools: update to 1.7.0
Major change in this version is switching to the meson build system. NLS is no longer conditional, so remove the option.
Diffstat (limited to 'sysutils/osinfo-db-tools/files/patch-meson.build')
-rw-r--r--sysutils/osinfo-db-tools/files/patch-meson.build11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/osinfo-db-tools/files/patch-meson.build b/sysutils/osinfo-db-tools/files/patch-meson.build
new file mode 100644
index 000000000000..e79b14d35713
--- /dev/null
+++ b/sysutils/osinfo-db-tools/files/patch-meson.build
@@ -0,0 +1,11 @@
+--- meson.build.orig 2019-12-08 05:53:25 UTC
++++ meson.build
+@@ -76,7 +76,7 @@ osinfo_db_tools_cflags += [
+ ]
+
+ # gettext package name
+-osinfo_db_tools_cflags += ['-DGETTEXT_PACKAGE="0"'.format(meson.project_name())]
++osinfo_db_tools_cflags += ['-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name())]
+
+ # cflags to check whether the compiler supports them or not
+ osinfo_db_tools_check_cflags = [