diff options
author | Tony Theodore <tonyt@logyst.com> | 2012-12-14 08:54:56 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2012-12-14 10:33:25 (GMT) |
commit | 72ec9d73d2cebafb567fbc016315a1c810d51809 (patch) | |
tree | 43c8afccf2446df0339579c0912a6cb8fbb6ac6b /src | |
parent | 55b926f378eebcb15df90babf29fa0716861775e (diff) | |
download | mxe-72ec9d73d2cebafb567fbc016315a1c810d51809.zip mxe-72ec9d73d2cebafb567fbc016315a1c810d51809.tar.gz mxe-72ec9d73d2cebafb567fbc016315a1c810d51809.tar.bz2 |
package ocaml-xml-light: use prefixed ocamlyacc and disable parallel build
Diffstat (limited to 'src')
-rw-r--r-- | src/ocaml-xml-light.mk | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ocaml-xml-light.mk b/src/ocaml-xml-light.mk index 5951ba9..b02c927 100644 --- a/src/ocaml-xml-light.mk +++ b/src/ocaml-xml-light.mk @@ -16,13 +16,14 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD - $(SED) -i "s,@target@,$(TARGET),g" '$(1)/Makefile' - $(SED) -i 's/ocamllex/$(TARGET)-ocamllex/g' '$(1)/Makefile' + $(SED) -i "s,@target@,$(TARGET),g" '$(1)/Makefile' + $(SED) -i 's,ocamllex,$(TARGET)-ocamllex,g' '$(1)/Makefile' + $(SED) -i 's,ocamlyacc,$(TARGET)-ocamlyacc,g' '$(1)/Makefile' $(SED) -i "s,@installdir@,$(PREFIX)/$(TARGET)/lib/ocaml/xml-light,g" $(1)/Makefile $(MAKE) -C '$(1)' xml_parser.ml - $(MAKE) -C '$(1)' -j '$(JOBS)' # without seperated previous step, does not work + $(MAKE) -C '$(1)' -j 1 # without seperated previous step, does not work mkdir -p $(PREFIX)/$(TARGET)/lib/ocaml/xml-light - # install.. + # install.. $(MAKE) -C '$(1)' -j '$(JOBS)' install (echo 'version="$($(PKG)_VERSION)"'; \ echo 'directory="+xml-light"'; \ |