Ticket #16744: universal_build_clucene.diff

File universal_build_clucene.diff, 637 bytes (added by illogical1@…, 12 years ago)

clucene Portfile patch to allow universal compiling

  • devel/clucene/Portfile

    old new  
    1717homepage                http://clucene.sourceforge.net/
    1818master_sites    sourceforge
    1919checksums               sha1 a60a360b9ce9048d65e5de8f0ae21a3f2638b22c
     20
     21post-configure {
     22        reinplace "s|verstring\=|\ s:\${wl}:|g" ${worksrcpath}/libtool
     23        if {[variant_isset universal]} {                reinplace "s|CC -dynamiclib|CC -dynamiclib ${configure.universal_ldflags}|g" ${worksrcpath}/libtool
     24        }
     25}
     26