Ticket #15322: libungif-universal.diff

File libungif-universal.diff, 1.3 KB (added by nox@…, 17 years ago)
  • files/patch-ltmain.sh-universal.diff

     
     1--- ltmain.sh.orig      2008-05-14 00:33:14.000000000 +0200
     2+++ ltmain.sh   2008-05-14 00:34:13.000000000 +0200
     3@@ -1507,7 +1507,8 @@
     4 
     5       # Tru64 UNIX uses -model [arg] to determine the layout of C++
     6       # classes, name mangling, and exception handling.
     7-      -model)
     8+      # Darwin uses the -arch flag to determine output architecture.
     9+      -model|-arch|-isysroot)
     10        compile_command="$compile_command $arg"
     11        compiler_flags="$compiler_flags $arg"
     12        finalize_command="$finalize_command $arg"
  • Portfile

     
    2626
    2727configure.args  --without-x
    2828
     29use_parallel_build  yes
     30
    2931set docdir      ${prefix}/share/doc/${name}-${version}
    3032
    3133post-destroot {
     
    4749    configure.args-delete   --without-x
    4850}
    4951
     52if {[variant_isset universal]} {
     53    patchfiles-append   patch-ltmain.sh-universal.diff
     54}
     55
    5056livecheck.regex "<title>${name} [lindex [split ${version} .] 0].x ${name}-(\\d+(?:\\.\\d+)*) released .*</title>"
    51