summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2019-04-02 05:21:33 (GMT)
committerTony Theodore <tonyt@logyst.com>2019-04-02 05:21:33 (GMT)
commitae3ebf05e657d337f1989a048e7a2e728c02a067 (patch)
tree38d9acb26a7f63e99db41b811eda541af023d0d4 /plugins
parent4d8d9b32c92e3eb4a3656c3b33c4d93ec7208287 (diff)
downloadmxe-ae3ebf05e657d337f1989a048e7a2e728c02a067.zip
mxe-ae3ebf05e657d337f1989a048e7a2e728c02a067.tar.gz
mxe-ae3ebf05e657d337f1989a048e7a2e728c02a067.tar.bz2
gettext: use plugin for darwin overrides
Diffstat (limited to 'plugins')
-rw-r--r--plugins/native/darwin/gettext.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/native/darwin/gettext.mk b/plugins/native/darwin/gettext.mk
new file mode 100644
index 0000000..0d35e8d
--- /dev/null
+++ b/plugins/native/darwin/gettext.mk
@@ -0,0 +1,16 @@
+# This file is part of MXE. See LICENSE.md for licensing information.
+
+PKG := gettext
+
+define $(PKG)_BUILD_$(BUILD)
+ # causes issues with other packages so use different prefix
+ # but install *.m4 files and bins to standard location
+ cd '$(BUILD_DIR)' && $(SOURCE_DIR)/configure \
+ $(MXE_CONFIGURE_OPTS) \
+ --with-included-libcroco \
+ --prefix='$(PREFIX)/$(TARGET).gnu' \
+ --bindir='$(PREFIX)/$(TARGET)/bin' \
+ --datarootdir='$(PREFIX)/$(TARGET)/share'
+ $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' $(MXE_DISABLE_DOCS)
+ $(MAKE) -C '$(BUILD_DIR)' -j 1 install $(MXE_DISABLE_DOCS)
+endef