Ticket #11606: neon-universal.2.diff

File neon-universal.2.diff, 883 bytes (added by pipping@…, 17 years ago)

new patch

  • Portfile

     
    2929                --with-expat \
    3030                --mandir=\\\${prefix}/share/man
    3131
     32if {[llength [info commands configure.universal_ldflags-append]] > 0} {
     33        configure.universal_ldflags-append -L$prefix/lib
     34    post-destroot {
     35        cd ${destroot}${prefix}/bin
     36        reinplace "s|-arch i386 -arch ppc ||g" neon-config
     37        reinplace "s|-isysroot /Developer/SDKs/MacOSX10.4u.sdk ||g" neon-config
     38    }
     39} else {
     40        variant universal {
     41                return -code error "You need to be running MacPorts 1.4.0 or higher to \
     42                use this variant (universal)."
     43        }
     44}
     45
     46
    3247destroot.destdir    prefix=${destroot}${prefix}
    3348
    3449test.env    DYLD_LIBRARY_PATH=`find ${worksrcpath} -type d -name .libs | xargs echo | sed -e 's/ /:/g'`