[gnome-builder] autotools: FreeBSD has autoreconf in /usr/local/bin



commit 6e390b2de72c70c26758c1b42e655a687c2aa2a7
Author: Christian Hergert <chergert redhat com>
Date:   Wed Jan 24 16:07:26 2018 -0800

    autotools: FreeBSD has autoreconf in /usr/local/bin
    
    Work around for FreeBSD, since I'd rather not include /usr/local/bin
    everywhere.

 src/plugins/autotools/ide-autotools-autogen-stage.c | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/src/plugins/autotools/ide-autotools-autogen-stage.c 
b/src/plugins/autotools/ide-autotools-autogen-stage.c
index 435f567c9..7632f8524 100644
--- a/src/plugins/autotools/ide-autotools-autogen-stage.c
+++ b/src/plugins/autotools/ide-autotools-autogen-stage.c
@@ -98,6 +98,11 @@ ide_autotools_autogen_stage_execute_async (IdeBuildStage       *stage,
       ide_subprocess_launcher_push_argv (launcher, "-fiv");
     }
 
+#ifdef __FreeBSD__
+  /* FreeBSD has autoreconf in /usr/local/bin */
+  ide_subprocess_launcher_append_path (launcher, "/usr/local/bin");
+#endif
+
   subprocess = ide_subprocess_launcher_spawn (launcher, cancellable, &error);
 
   if (subprocess == NULL)


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