[gnome-build-meta] Revert "Stop overriding autogen in project.conf"



commit 25eaf1cfed569631d2821282305f993ee4aa68a1
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Wed Nov 21 11:39:42 2018 +0100

    Revert "Stop overriding autogen in project.conf"
    
    This reverts commit 3dbf9de27dca7fbf051388781bcf276b658ea18a.

 project.conf | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
---
diff --git a/project.conf b/project.conf
index 45c985c..3adf089 100644
--- a/project.conf
+++ b/project.conf
@@ -83,6 +83,25 @@ elements:
   autotools:
     variables:
       conf-extra: --disable-static --disable-Werror
+
+      # Temporary workaround to avoid regenerating existing
+      # configure scripts when building tarballs.
+      #
+      # We can remove this after addressing the upstream issue:
+      #
+      #    https://gitlab.com/BuildStream/buildstream/issues/256
+      #
+      # XXX: updating config.{sub,guess} would be still useful in that case
+      # to fix compilation on recent architectures such as aarch64.
+      autogen: |
+        export NOCONFIGURE=1
+        if [ -x %{conf-cmd} ]; then cp -f /usr/share/automake*/config.{sub,guess} %{conf-aux}
+        elif [ -x autogen ]; then ./autogen
+        elif [ -x autogen.sh ]; then ./autogen.sh
+        elif [ -x bootstrap ]; then ./bootstrap
+        elif [ -x bootstrap.sh ]; then ./bootstrap.sh
+        else autoreconf -ivf
+        fi
       # the directory where config.sub and config.guess are stored
       conf-aux: .
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]