]> arthur.barton.de Git - homebrew-alex.git/commitdiff
identd: Fix building without OS X 10.7 SDK
authorAlexander Barton <alex@barton.de>
Fri, 15 Jan 2016 09:45:34 +0000 (10:45 +0100)
committerAlexander Barton <alex@barton.de>
Fri, 15 Jan 2016 09:45:34 +0000 (10:45 +0100)
Remote "SDKROOT" variables from the Xcode project file, so Xcode
automatically picks the current SDK when building the project.

Closes #1.

Signed-off-by: Alexander Barton <alex@barton.de>
Formula/identd.rb

index 55ee9b8d8743111ff5e771316573d1f04526096a..e7e4aff942c34c19e4131167c397d6f40eff5576 100644 (file)
@@ -42,3 +42,39 @@ index fdd43b0..954e9ee 100644
  If you create a /usr/local/etc/identd.user file containing a username on a\r
  single line, that username will be returned if no user would be found otherwise.\r
  This is useful if you are behind a NAT router that causes the source and\r
+diff --git a/identd.xcodeproj/project.pbxproj b/identd.xcodeproj/project.pbxproj\r
+index 8339234..1fef724 100644\r
+--- a/identd.xcodeproj/project.pbxproj\r
++++ b/identd.xcodeproj/project.pbxproj\r
+@@ -190,7 +190,6 @@\r
+                               MACOSX_DEPLOYMENT_TARGET = 10.6;\r
+                               ONLY_ACTIVE_ARCH = YES;\r
+                               PROVISIONING_PROFILE = "";\r
+-                              SDKROOT = macosx10.7;\r
+                       };\r
+                       name = Debug;\r
+               };\r
+@@ -207,7 +206,6 @@\r
+                               MACOSX_DEPLOYMENT_TARGET = 10.6;\r
+                               ONLY_ACTIVE_ARCH = NO;\r
+                               PROVISIONING_PROFILE = "";\r
+-                              SDKROOT = macosx10.7;\r
+                       };\r
+                       name = Release;\r
+               };\r
+@@ -225,7 +223,6 @@\r
+                               INSTALL_PATH = /usr/local/sbin;\r
+                               PRODUCT_NAME = "$(TARGET_NAME)";\r
+                               PROVISIONING_PROFILE = "";\r
+-                              SDKROOT = macosx10.7;\r
+                       };\r
+                       name = Debug;\r
+               };\r
+@@ -246,7 +243,6 @@\r
+                               ONLY_ACTIVE_ARCH = NO;\r
+                               PRODUCT_NAME = "$(TARGET_NAME)";\r
+                               PROVISIONING_PROFILE = "";\r
+-                              SDKROOT = macosx10.7;\r
+                       };\r
+                       name = Release;\r
+               };\r