[41625] trunk/dports/graphics/libungif

nox at macports.org nox at macports.org
Fri Nov 7 09:07:56 PST 2008


Revision: 41625
          http://trac.macports.org/changeset/41625
Author:   nox at macports.org
Date:     2008-11-07 09:07:54 -0800 (Fri, 07 Nov 2008)
Log Message:
-----------
libungif: Fixed universal support (closes #15322).

Modified Paths:
--------------
    trunk/dports/graphics/libungif/Portfile

Added Paths:
-----------
    trunk/dports/graphics/libungif/files/patch-ltmain.sh-universal.diff

Modified: trunk/dports/graphics/libungif/Portfile
===================================================================
--- trunk/dports/graphics/libungif/Portfile	2008-11-07 16:51:21 UTC (rev 41624)
+++ trunk/dports/graphics/libungif/Portfile	2008-11-07 17:07:54 UTC (rev 41625)
@@ -26,6 +26,8 @@
 
 configure.args  --without-x
 
+use_parallel_build  yes
+
 set docdir      ${prefix}/share/doc/${name}-${version}
 
 post-destroot {
@@ -47,5 +49,8 @@
     configure.args-delete   --without-x
 }
 
+if {[variant_isset universal]} {
+    patchfiles-append   patch-ltmain.sh-universal.diff
+}
+
 livecheck.regex "<title>${name} [lindex [split ${version} .] 0].x ${name}-(\\d+(?:\\.\\d+)*) released .*</title>"
-

Added: trunk/dports/graphics/libungif/files/patch-ltmain.sh-universal.diff
===================================================================
--- trunk/dports/graphics/libungif/files/patch-ltmain.sh-universal.diff	                        (rev 0)
+++ trunk/dports/graphics/libungif/files/patch-ltmain.sh-universal.diff	2008-11-07 17:07:54 UTC (rev 41625)
@@ -0,0 +1,12 @@
+--- ltmain.sh.orig	2008-05-14 00:33:14.000000000 +0200
++++ ltmain.sh	2008-05-14 00:34:13.000000000 +0200
+@@ -1507,7 +1507,8 @@
+ 
+       # Tru64 UNIX uses -model [arg] to determine the layout of C++
+       # classes, name mangling, and exception handling.
+-      -model)
++      # Darwin uses the -arch flag to determine output architecture.
++      -model|-arch|-isysroot)
+ 	compile_command="$compile_command $arg"
+ 	compiler_flags="$compiler_flags $arg"
+ 	finalize_command="$finalize_command $arg"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081107/13d06e65/attachment.html>


More information about the macports-changes mailing list