Skip to contentSkip to conversation

freetype: freetype-patch: depends on host-automake

PATCH Superseded Fabio Porcedda 2 participants 3 messages May 5, 2014 – May 11, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 freetype: freetype-patch: depends on host-automake

The "make freetype-patch" fails because does not found autogen.sh, because autogen.sh available only for the configure stage. To fix this add host-automake as a prerequisite to freetype-patch.

This change also fix the support to top-level parallel make.

---
v2:
- Add host-automake as a order-only-prerequisite because it is a phony target.

 package/freetype/freetype.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/freetype/freetype.mk +4 -0
index c7c9a06..a6ae0a0 100644
@@ -83,3 +83,7 @@ HOST_FREETYPE_POST_INSTALL_HOOKS += HOST_FREETYPE_FIX_FREETYPE_INCLUDE
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
+
+# freetype-patch uses autogen.sh so add it as a order-only-prerequisite
+# because it is a phony target.
+$(FREETYPE_TARGET_PATCH): | host-automake
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 1/1 freetype: freetype-patch: depends on host-automake

Quoted 29 lines · Fabio Porcedda

The "make freetype-patch" fails because does not found autogen.sh, because autogen.sh available only for the configure stage. To fix this add host-automake as a prerequisite to freetype-patch.

This change also fix the support to top-level parallel make.

---
v2:
- Add host-automake as a order-only-prerequisite because it is a phony target.

 package/freetype/freetype.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/freetype/freetype.mk +4 -1
index c7c9a06..a6ae0a0 100644
@@ -83,3 +83,7 @@ HOST_FREETYPE_POST_INSTALL_HOOKS += HOST_FREETYPE_FIX_FREETYPE_INCLUDE
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
+
+# freetype-patch uses autogen.sh so add it as a order-only-prerequisite
+# because it is a phony target.
+$(FREETYPE_TARGET_PATCH): | host-automake
--
Quoted 2 lines

1.9.1

I've sent an updated patch:

http://patchwork.ozlabs.org/patch/345730/

Regards

Signature · 1 line
Fabio Porcedda
#2 lore raw

PATCH v2 1/1 freetype: freetype-patch: depends on host-automake

In reply to Fabio Porcedda
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabio" == Fabio Porcedda <[email protected]> writes:

The "make freetype-patch" fails because does not found autogen.sh, because autogen.sh available only for the configure stage. To fix this add host-automake as a prerequisite to freetype-patch.

Quoted 8 lines

This change also fix the support to top-level parallel make.

---
v2:
- Add host-automake as a order-only-prerequisite because it is a phony target.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard