Ticket #17357: cyrus-sasl2_universal.diff
File cyrus-sasl2_universal.diff, 1.3 KB (added by illogic-al@…, 16 years ago) |
---|
-
../security/cyrus-sasl2/Portfile
4 4 5 5 name cyrus-sasl2 6 6 version 2.1.22 7 revision 1 7 8 categories security net 8 9 maintainers jmpp landonf 9 10 description SASL is an authentication library. … … 44 45 45 46 use_parallel_build yes 46 47 47 universal_variant no48 49 48 # This is a start towards universal... lib/Makefile.am and sasldb/Makefile.am need to be updated to not do blind ar-fu 50 49 #depends_build \ 51 50 # port:autoconf \ … … 100 99 101 100 variant static description "Build static library" { configure.args-append --enable-static } 102 101 102 variant universal { 103 post-configure { 104 reinplace "s|^\\(archive_cmds\=\"\\\\\$CC\\)|\\1 \ 105 -Wl,-syslibroot,$sysroot ${configure.universal_ldflags} \ 106 -mmacosx-version-min=10.4 |g" ${worksrcpath}/libtool 107 # Only if compiling using 10.4 SDK on 10.5. Need to find proper fix 108 reinplace "s|#include <gssapi.h>|#include <gssapi/gssapi.h>|" ${worksrcpath}/plugins/gssapi.c 109 } 110 } 111 103 112 livecheck.check regex 104 113 livecheck.url http://ftp.andrew.cmu.edu/pub/cyrus-mail/ 105 114 livecheck.regex {cyrus-sasl-(\d+(?:\.\d+)*)}