Ticket #17598: unrar.diff
File unrar.diff, 1.2 KB (added by meissnem@…, 16 years ago) |
---|
-
(a) /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/unrar/Portfile vs. (b) unrar-portfile.new
a b 26 26 27 27 worksrcdir ${name} 28 28 29 # configure.universal_ldflags-append -isysroot ${sysroot} 30 configure.universal_ldflags-append -isysroot /Developer/SDKs/MacOSX10.4u.sdk 29 use_configure no 31 30 32 configure { 33 reinplace -E "/^CXXFLAGS/s|\$| [join ${configure.cflags}]\\\n\ 34 LDFLAGS=[join ${configure.ldflags}]|" \ 35 ${worksrcpath}/makefile.unix 31 set CXXFLAGS ${configure.cxxflags} 32 set LDFLAGS ${configure.ldflags} 33 if {[variant_isset universal]} { 34 set CXXFLAGS "${CXXFLAGS} ${configure.universal_cxxflags}" 35 set LDFLAGS "${LDFLAGS} ${configure.universal_ldflags}" 36 36 } 37 37 38 build.env-append CXXFLAGS="${CXXFLAGS}" 39 build.env-append LDFLAGS="${LDFLAGS}" 38 40 build.args -f makefile.unix 39 41 40 42 use_parallel_build yes … … 47 49 xinstall -m 0644 ${worksrcpath}/license.txt ${destroot}${docdir} 48 50 } 49 51 52 variant universal {} 53 50 54 livecheck.check regex 51 55 livecheck.url ${master_sites}?C=M&O=D 52 56 livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)