[98699] trunk/dports/sysutils/gearmand/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Oct 13 03:22:17 PDT 2012


Revision: 98699
          http://trac.macports.org//changeset/98699
Author:   ryandesign at macports.org
Date:     2012-10-13 03:22:17 -0700 (Sat, 13 Oct 2012)
Log Message:
-----------
gearmand: build with the right -arch flags (the build system ignores our CFLAGS and CXXFLAGS) and fix universal variant (the configure script checks the endianness and is confused by the result 'universal')

Modified Paths:
--------------
    trunk/dports/sysutils/gearmand/Portfile

Modified: trunk/dports/sysutils/gearmand/Portfile
===================================================================
--- trunk/dports/sysutils/gearmand/Portfile	2012-10-13 09:53:13 UTC (rev 98698)
+++ trunk/dports/sysutils/gearmand/Portfile	2012-10-13 10:22:17 UTC (rev 98699)
@@ -3,6 +3,9 @@
 
 PortSystem          1.0
 
+# configure: error: unable to determine endian
+PortGroup           muniversal 1.0
+
 name                gearmand
 version             0.41
 set branch          1.0
@@ -45,6 +48,12 @@
 # gearmand handles parallel building using the --enable-jobserver arg above.
 use_parallel_build  no
 
+merger_arch_compiler yes
+if {![variant_isset universal]} {
+    configure.cc-append " ${configure.cc_archflags}"
+    configure.cxx-append " ${configure.cxx_archflags}"
+}
+
 post-destroot {
     set docdir ${prefix}/share/doc/${subport}
     xinstall -d ${destroot}${docdir}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121013/4078c58f/attachment.html>


More information about the macports-changes mailing list