From bd38116dec52be5d9bc6b17de69fb02dca62f1e0 Mon Sep 17 00:00:00 2001
From: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk>
Date: Fri, 29 Jun 2018 10:59:29 +0100
Subject: freetype2: Run autogen.sh when configure

The repository contains a ./configure file which is broken.
To recreate the ./configure file(s), it is required to run
./autogen.sh
---
 elements/graphics-common/freetype2.bst | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

(limited to 'elements/graphics-common/freetype2.bst')

diff --git a/elements/graphics-common/freetype2.bst b/elements/graphics-common/freetype2.bst
index ee6af4b8..3881a634 100644
--- a/elements/graphics-common/freetype2.bst
+++ b/elements/graphics-common/freetype2.bst
@@ -9,3 +9,20 @@ sources:
   url: upstream:freetype2
   track: VER-2-6-2
   ref: 66cf29b1bc869b44863b0de2115bd017dfcce849
+config:
+  configure-commands:
+  - ./autogen.sh
+  - |
+    ./configure --prefix=%{prefix} \
+                --exec-prefix=%{exec_prefix} \
+                --bindir=%{bindir} \
+                --sbindir=%{sbindir} \
+                --sysconfdir=%{sysconfdir} \
+                --datadir=%{datadir} \
+                --includedir=%{includedir} \
+                --libdir=%{libdir} \
+                --libexecdir=%{libexecdir} \
+                --localstatedir=%{localstatedir} \
+                --sharedstatedir=%{sharedstatedir} \
+                --mandir=%{mandir} \
+                --infodir=%{infodir} %{conf-extra} %{conf-global} %{conf-local}
-- 
cgit v1.2.1

