[139745] trunk/dports/devel/physfs/files/patch-CMakeLists.txt.diff

ryandesign at macports.org ryandesign at macports.org
Tue Aug 25 22:15:23 PDT 2015


Revision: 139745
          https://trac.macports.org/changeset/139745
Author:   ryandesign at macports.org
Date:     2015-08-25 22:15:22 -0700 (Tue, 25 Aug 2015)
Log Message:
-----------
physfs: fix build on 10.5 PowerPC by not attempting to set the deployment target to 10.2 (#45852)

Modified Paths:
--------------
    trunk/dports/devel/physfs/files/patch-CMakeLists.txt.diff

Modified: trunk/dports/devel/physfs/files/patch-CMakeLists.txt.diff
===================================================================
--- trunk/dports/devel/physfs/files/patch-CMakeLists.txt.diff	2015-08-26 04:11:32 UTC (rev 139744)
+++ trunk/dports/devel/physfs/files/patch-CMakeLists.txt.diff	2015-08-26 05:15:22 UTC (rev 139745)
@@ -1,6 +1,19 @@
---- CMakeLists.txt.orig	2011-08-05 17:46:19.596723448 -0400
-+++ CMakeLists.txt	2011-08-05 17:46:27.744621586 -0400
-@@ -44,7 +44,7 @@
+--- CMakeLists.txt.orig	2012-10-22 22:41:04.000000000 -0500
++++ CMakeLists.txt	2015-08-26 00:00:37.000000000 -0500
+@@ -35,12 +35,6 @@
+ #INCLUDE_DIRECTORIES(archivers)
+ 
+ IF(MACOSX)
+-    # Fallback to older OS X on PowerPC to support wider range of systems...
+-    IF(CMAKE_OSX_ARCHITECTURES MATCHES ppc)
+-        ADD_DEFINITIONS(-DMAC_OS_X_VERSION_MIN_REQUIRED=1020)
+-        SET(OTHER_LDFLAGS ${OTHER_LDFLAGS} " -mmacosx-version-min=10.2")
+-    ENDIF(CMAKE_OSX_ARCHITECTURES MATCHES ppc)
+-
+     # Need these everywhere...
+     ADD_DEFINITIONS(-fno-common)
+     SET(OTHER_LDFLAGS ${OTHER_LDFLAGS} " -framework Carbon -framework IOKit")
+@@ -49,7 +43,7 @@
  # Add some gcc-specific command lines.
  IF(CMAKE_COMPILER_IS_GNUCC)
      # Always build with debug symbols...you can strip it later.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150825/2b666da9/attachment.html>


More information about the macports-changes mailing list