UniversalNeon: neon.diff

File neon.diff, 688 bytes (added by pipping@…, 18 years ago)
  • www/neon/Portfile

     
    2929                --with-expat \
    3030                --mandir=\\\${prefix}/share/man
    3131
     32post-destroot {
     33    if {[variant_isset universal]} {
     34        cd ${destroot}${prefix}/bin
     35        set nc neon-config
     36        reinplace "s|-arch i386 -arch ppc ||g" ${nc}
     37        reinplace "s|-isysroot /Developer/SDKs/MacOSX10.4u.sdk ||g" ${nc}
     38    }
     39}
     40
    3241destroot.destdir    prefix=${destroot}${prefix}
    3342
    3443test.env    DYLD_LIBRARY_PATH=`find ${worksrcpath} -type d -name .libs | xargs echo | sed -e 's/ /:/g'`