Ticket #16744: universal_build_gpgme.diff

File universal_build_gpgme.diff, 507 bytes (added by illogical1@…, 12 years ago)

gpgme Portfile patch to allow universal compiling

  • devel/gpgme/Portfile

    old new  
    3535
    3636configure.args      --with-gpg=${prefix}/bin/gpg --enable-static
    3737
     38post-configure {
     39        if {[variant_isset universal]} {
     40                reinplace "s|CC -dynamiclib|CC -dynamiclib ${configure.universal_ldflags}|g" ${worksrcpath}/libtool
     41        }
     42}
     43
    3844test.run    yes
    3945test.target check
    4046