UniversalZlib: zlib.diff

File zlib.diff, 1.1 KB (added by pipping@…, 18 years ago)
  • archivers/zlib/files/patch-Makefile-universal

     
     1--- Makefile.in.orig    2007-03-31 23:25:14.000000000 +0200
     2+++ Makefile.in 2007-03-31 23:25:36.000000000 +0200
     3@@ -78,7 +78,7 @@
     4        rm -f _match.s
     5 
     6 $(SHAREDLIBV): libz.a $(OBJS)
     7-       $(LDSHARED) -o $@ $(OBJS)
     8+       $(LDSHARED) -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -o $@ $(OBJS)
     9        rm -f $(SHAREDLIB) $(SHAREDLIBM)
     10        ln -s $@ $(SHAREDLIB)
     11        ln -s $@ $(SHAREDLIBM)
  • archivers/zlib/Portfile

     
    2222checksums       md5 dee233bf288ee795ac96a98cc2e369b6
    2323
    2424patchfiles      patch-Makefile-static
     25if {[variant_isset universal]} {
     26        patchfiles-append       patch-Makefile-universal
     27}
    2528
    2629configure.args  --shared
     30configure.universal_args   
    2731
    2832test.run        yes
    2933