[gtk-osx: 2/7] Don't pass --libdir to openssl's Configure



commit 6fbf16cd99158875a49580fbe1039ca85d2aae14
Author: Philip Chimento <philip chimento gmail com>
Date:   Mon Apr 6 21:19:20 2015 -0700

    Don't pass --libdir to openssl's Configure
    
    The "Configure" script included with openssl doesn't understand --libdir,
    nor does it understand "--prefix /path", only "--prefix=/path". Correct
    autogen-template to take this into account.

 modulesets-stable/gtk-osx-unsupported.modules |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/modulesets-stable/gtk-osx-unsupported.modules b/modulesets-stable/gtk-osx-unsupported.modules
index e8f86b0..7fe0c13 100644
--- a/modulesets-stable/gtk-osx-unsupported.modules
+++ b/modulesets-stable/gtk-osx-unsupported.modules
@@ -91,7 +91,10 @@
     </dependencies>
   </autotools>
 
+  <!-- of the many arguments such as prefix and libdir that jhbuild might pass
+  to configure, openssl only understands prefix, and only with =. -->
   <autotools id="openssl" autogen-sh="Configure" autogenargs="shared"
+             autogen-template="%(srcdir)s/%(autogen-sh)s --prefix=%(prefix)s %(autogenargs)s"
             supports-non-srcdir-builds="no">
     <branch module="openssl-0.9.8ze.tar.gz" version="0.9.8ze" repo="openssl"/>
   </autotools>


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