[91547] trunk/dports/devel/libgcrypt/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed Apr 4 15:15:07 PDT 2012


Revision: 91547
          https://trac.macports.org/changeset/91547
Author:   jeremyhu at macports.org
Date:     2012-04-04 15:15:07 -0700 (Wed, 04 Apr 2012)
Log Message:
-----------
libgcrypt: Add more info about the rijndael.c issue

Modified Paths:
--------------
    trunk/dports/devel/libgcrypt/Portfile

Modified: trunk/dports/devel/libgcrypt/Portfile
===================================================================
--- trunk/dports/devel/libgcrypt/Portfile	2012-04-04 22:13:38 UTC (rev 91546)
+++ trunk/dports/devel/libgcrypt/Portfile	2012-04-04 22:15:07 UTC (rev 91547)
@@ -43,12 +43,18 @@
 	# error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast
 	configure.cflags-append "-fheinous-gnu-extensions"
 } elseif {${configure.compiler} == "gcc-4.2"} {
-	# gcc-4.2 from XCode 3.2.6 fails to build this for i386 with
+	# Some versions of gcc fail to build this for i386 including:
+	#     gcc-4.0 from XCode 3.1.6 (5493) -- Note that gcc-4.0 from XCode 2.5 (5370) works 
+	#     gcc-4.2 from XCode 3.1.6 (5577)
+	#     gcc-4.2 from XCode 3.2.6 (5666.3)
 	# rijndael.c: In function 'do_aesni_ctr':
 	# rijndael.c:895: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
 	# rijndael.c:895: error: 'asm' operand has impossible constraints
 	configure.compiler llvm-gcc-4.2
 }
+# elseif {${configure.compiler} == "gcc-4.0" && [vercmp ${xcodeversion} 3.0] >= 0} {
+#	supported_archs ppc x86_64
+#}
 
 post-configure {
     if {[variant_isset universal]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120404/f20b05b8/attachment.html>


More information about the macports-changes mailing list