Ticket #11811: lua-universal.patch

File lua-universal.patch, 469 bytes (added by meissnem@…, 18 years ago)

patchfile

  • Portfile

     
    6565        depends_lib.delete port:readline
    6666        patchfiles.delete  patch-use_readline.diff
    6767}
     68
     69variant universal {
     70        post-patch {
     71                reinplace "s|MYCFLAGS=|MYCFLAGS=\"-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc \"|g" ${worksrcpath}/src/Makefile
     72                reinplace "s|MYLDFLAGS=|MYLDFLAGS=-arch i386 -arch ppc |g" ${worksrcpath}/src/Makefile
     73        }
     74}