Ticket #47807: ljpeg-turbo.diff
File ljpeg-turbo.diff, 1.7 KB (added by RJVB (René Bertin), 9 years ago) |
---|
-
graphics/libjpeg-turbo/Portfile
old new 4 4 PortGroup muniversal 1.0 5 5 6 6 name libjpeg-turbo 7 version 1. 3.17 version 1.4.0 8 8 categories graphics 9 9 conflicts jpeg mozjpeg 10 10 platforms darwin … … 18 18 license BSD 19 19 homepage http://www.${name}.org 20 20 master_sites sourceforge:project/${name}/${version}/ 21 checksums rmd160 25234e8f0ee7d1f5fa77868e161ecdf66091b064 \ 22 sha256 d93ad8546b510244f863b39b4c0da0fa4c0d53a77b61a8a3880f258c232bbbee 21 23 22 checksums rmd160 ee7989a93ff6ba2426e113ce62c69fc9184db0ae \ 23 sha256 c132907417ddc40ed552fe53d6b91d5fecbb14a356a60ddc7ea50d6be9666fb9 24 25 depends_lib port:nasm 24 depends_build bin:nasm:nasm 26 25 use_autoreconf yes 27 26 autoreconf.args -fvi 28 27 29 28 configure.args-append --with-jpeg8 NASM=${prefix}/bin/nasm 30 switch ${build_arch} { 31 i386 { 32 configure.args-append --host i686-apple-darwin 33 } 34 x86_64 { 35 configure.args-append --host x86_64-apple-darwin 36 } 29 if {[variant_exists universal] && [variant_isset universal]} { 30 set merger_host(x86_64) x86_64-apple-${os.platform}${os.major} 31 set merger_host(i386) i686-apple-${os.platform}${os.major} 32 set merger_configure_args(x86_64) --build=x86_64-apple-${os.platform}${os.major} 33 set merger_configure_args(i386) --build=i686-apple-${os.platform}${os.major} 37 34 } 38 35 39 36 post-destroot {