When the configure file is missing from the project, an autogen.sh
should be added to patches instead of running autogen.sh in the prepare
stage.

Signed-off-by: Sven Püschel <[email protected]>
---
 patches/libass-0.17.1/autogen.sh | 1 +
 rules/libass.make                | 6 ------
 2 files changed, 1 insertion(+), 6 deletions(-)
 create mode 120000 patches/libass-0.17.1/autogen.sh

diff --git a/patches/libass-0.17.1/autogen.sh b/patches/libass-0.17.1/autogen.sh
new file mode 120000
index 000000000..9f8a4cb7d
--- /dev/null
+++ b/patches/libass-0.17.1/autogen.sh
@@ -0,0 +1 @@
+../autogen.sh
\ No newline at end of file
diff --git a/rules/libass.make b/rules/libass.make
index a0066e156..3bf820c01 100644
--- a/rules/libass.make
+++ b/rules/libass.make
@@ -35,12 +35,6 @@ LIBASS_CONF_OPT              := \
        --disable-test \
        --disable-profile
 
-$(STATEDIR)/libass.prepare:
-       @$(call targetinfo)
-       @$(call world/execute, LIBASS, ./autogen.sh)
-       @$(call world/prepare, LIBASS)
-       @$(call touch)
-
 # ----------------------------------------------------------------------------
 # Target-Install
 # ----------------------------------------------------------------------------
-- 
2.47.3


Reply via email to