[Mesa-dev] [PATCH] util/xmlpool: avoid using a GNU make pattern rule
Jonathan Gray
jsg at jsg.id.au
Thu Nov 1 04:11:25 UTC 2018
% pattern rules are a GNU extension. Convert the use of one to a
inference rule to allow this to build on OpenBSD.
Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
---
src/util/xmlpool/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util/xmlpool/Makefile.am b/src/util/xmlpool/Makefile.am
index 2b01391401b..5078f917948 100644
--- a/src/util/xmlpool/Makefile.am
+++ b/src/util/xmlpool/Makefile.am
@@ -82,7 +82,7 @@ options.h: t_options.h $(MOS)
--languages $(LANGS)
# Update .mo files from the corresponding .po files.
-%.gmo: %.po
+.po.gmo:
@mo="$@"; \
lang=$${mo%%/*}; \
echo "Updating ($$lang) $@ from $?."; \
--
2.19.1
More information about the mesa-dev
mailing list