Revision: 104751 https://trac.macports.org/changeset/104751 Author: ryandesign@macports.org Date: 2013-04-01 19:19:57 -0700 (Mon, 01 Apr 2013) Log Message: ----------- gnutls: fix 'error: invalid preprocessing directive' build failure on at least Leopard i386 by removing comment lines from x86 assembler files Modified Paths: -------------- trunk/dports/devel/gnutls/Portfile Modified: trunk/dports/devel/gnutls/Portfile =================================================================== --- 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
participants (1)
-
ryandesign@macports.org