[34141] trunk/dports/graphics/freeimage

raimue at macports.org raimue at macports.org
Fri Feb 15 06:56:24 PST 2008


Revision: 34141
          http://trac.macosforge.org/projects/macports/changeset/34141
Author:   raimue at macports.org
Date:     2008-02-15 06:56:22 -0800 (Fri, 15 Feb 2008)

Log Message:
-----------
graphics/freeimage:
Fix building on Leopard with a patch, closes #13708

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

Added Paths:
-----------
    trunk/dports/graphics/freeimage/files/
    trunk/dports/graphics/freeimage/files/patch-Makefile.osx-Leopard.diff

Modified: trunk/dports/graphics/freeimage/Portfile
===================================================================
--- trunk/dports/graphics/freeimage/Portfile	2008-02-15 14:37:30 UTC (rev 34140)
+++ trunk/dports/graphics/freeimage/Portfile	2008-02-15 14:56:22 UTC (rev 34141)
@@ -36,4 +36,8 @@
 	}
 }
 
+platform darwin 9 {
+    patchfiles-append   patch-Makefile.osx-Leopard.diff
+}
+
 livecheck.regex		<title>Source Distribution (.*) released.*</title>

Added: trunk/dports/graphics/freeimage/files/patch-Makefile.osx-Leopard.diff
===================================================================
--- trunk/dports/graphics/freeimage/files/patch-Makefile.osx-Leopard.diff	                        (rev 0)
+++ trunk/dports/graphics/freeimage/files/patch-Makefile.osx-Leopard.diff	2008-02-15 14:56:22 UTC (rev 34141)
@@ -0,0 +1,20 @@
+--- Makefile.osx.orig	2007-08-25 17:00:38.000000000 +0200
++++ Makefile.osx	2008-02-15 15:41:15.000000000 +0100
+@@ -14,14 +14,14 @@
+ COMPILERFLAGS_I386 = -arch i386
+ COMPILERPPFLAGS = -Wno-ctor-dtor-privacy
+ INCLUDE += 
+-INCLUDE_PPC = -isysroot /Developer/SDKs/MacOSX10.3.9.sdk
++INCLUDE_PPC = -isysroot /Developer/SDKs/MacOSX10.4u.sdk
+ INCLUDE_I386 = -isysroot /Developer/SDKs/MacOSX10.4u.sdk
+ CFLAGS_PPC = $(COMPILERFLAGS) $(COMPILERFLAGS_PPC) $(INCLUDE) $(INCLUDE_PPC)
+ CFLAGS_I386 = $(COMPILERFLAGS) $(COMPILERFLAGS_I386) $(INCLUDE) $(INCLUDE_I386)
+ CPPFLAGS_PPC = $(COMPILERPPFLAGS) $(CFLAGS_PPC)
+ CPPFLAGS_I386 = $(COMPILERPPFLAGS) $(CFLAGS_I386)
+-LIBRARIES_PPC = -Wl,-syslibroot /Developer/SDKs/MacOSX10.3.9.sdk
+-LIBRARIES_I386 = -Wl,-syslibroot /Developer/SDKs/MacOSX10.4u.sdk
++LIBRARIES_PPC = -Wl,-syslibroot /Developer/SDKs/MacOSX10.4u.sdk/usr/lib
++LIBRARIES_I386 = -Wl,-syslibroot /Developer/SDKs/MacOSX10.4u.sdk/usr/lib
+ LIBTOOL = libtool
+ LIPO = lipo
+ 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080215/68b581dd/attachment.html 


More information about the macports-changes mailing list