Revision: 110302 https://trac.macports.org/changeset/110302 Author: blair@macports.org Date: 2013-08-29 12:43:56 -0700 (Thu, 29 Aug 2013) Log Message: ----------- zeroc-ice35: do not define -DMAC_OS_X_VERSION_MIN_REQUIRED during compile. Modified Paths: -------------- trunk/dports/devel/zeroc-ice35/files/patch-ice.cpp.config.Make.rules.Darwin.diff Modified: trunk/dports/devel/zeroc-ice35/files/patch-ice.cpp.config.Make.rules.Darwin.diff =================================================================== --- trunk/dports/devel/zeroc-ice35/files/patch-ice.cpp.config.Make.rules.Darwin.diff 2013-08-29 19:28:00 UTC (rev 110301) +++ trunk/dports/devel/zeroc-ice35/files/patch-ice.cpp.config.Make.rules.Darwin.diff 2013-08-29 19:43:56 UTC (rev 110302) @@ -5,10 +5,13 @@ 1) Allow environment to set CXX. 2) Do not build for both i386 and x86_64 since MacPorts' universal configuration will specify which architectures to build for. +3) Do not define -DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_6 + so that any Mac OS X version can be used. Since we link against + MacPorts' OpenSSL, this flag is unnecessary. diff -ru Ice-3.5.0.orig/cpp/config/Make.rules.Darwin Ice-3.5.0/cpp/config/Make.rules.Darwin --- Ice-3.5.0.orig/cpp/config/Make.rules.Darwin 2013-03-11 08:19:46.000000000 -0700 -+++ Ice-3.5.0/cpp/config/Make.rules.Darwin 2013-03-11 21:30:00.269042661 -0700 ++++ Ice-3.5.0/cpp/config/Make.rules.Darwin 2013-08-29 12:42:04.000000000 -0700 @@ -11,17 +11,11 @@ # This file is included by Make.rules when uname is Darwin. # @@ -28,7 +31,19 @@ CXXFLAGS := $(CXXARCHFLAGS) -O2 -DNDEBUG $(CXXFLAGS) else CXXFLAGS := $(CXXARCHFLAGS) -g $(CXXFLAGS) -@@ -72,7 +66,7 @@ +@@ -59,11 +53,6 @@ + + mkshlib = $(CXX) -dynamiclib $(shlibldflags) -o $(1) -install_name @rpath/$(2) $(3) $(4) + +-# +-# Avoid OpenSSL deprecation warnings on OS X +-# +-OPENSSL_FLAGS = -DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_6 +- + BASELIBS = -lIceUtil -lpthread + LIBS = -lIce $(BASELIBS) + +@@ -72,7 +61,7 @@ ICEUTIL_OS_LIBS = -lpthread ICE_OS_LIBS = -ldl