gnutls: fix 'error: invalid preprocessing directive' build failure on at least Leopard i386 by removing comment lines from x86 assembler files
--- trunk/dports/devel/gnutls/Portfile 2013-04-02 02:17:43 UTC (rev 104750)
+++ trunk/dports/devel/gnutls/Portfile 2013-04-02 02:19:57 UTC (rev 104751)
@@ -36,6 +36,11 @@
port:libtasn1 \
port:nettle
+post-patch {
+ # Remove comments which confuse at least Leopard's assembler.
+ eval reinplace {/^#/d} [glob ${worksrcpath}/lib/accelerated/x86/macosx/*.s]
+}
+
configure.args --disable-guile \
--disable-silent-rules \
--without-p11-kit