[70964] trunk/dports/devel/libcryptopp/files/patch-GNUmakefile.diff
Revision: 70964 http://trac.macports.org/changeset/70964 Author: raphael@macports.org Date: 2010-08-28 10:36:31 -0700 (Sat, 28 Aug 2010) Log Message: ----------- libcryptopp: patch makefile to fix compiling on ppc; see #26266 Modified Paths: -------------- trunk/dports/devel/libcryptopp/files/patch-GNUmakefile.diff Modified: trunk/dports/devel/libcryptopp/files/patch-GNUmakefile.diff =================================================================== --- trunk/dports/devel/libcryptopp/files/patch-GNUmakefile.diff 2010-08-28 16:29:57 UTC (rev 70963) +++ trunk/dports/devel/libcryptopp/files/patch-GNUmakefile.diff 2010-08-28 17:36:31 UTC (rev 70964) @@ -1,12 +1,26 @@ ---- GNUmakefile.orig 2010-08-14 08:11:36.000000000 +0200 -+++ GNUmakefile 2010-08-14 08:13:08.000000000 +0200 +--- GNUmakefile.orig 2010-08-28 19:15:56.000000000 +0200 ++++ GNUmakefile 2010-08-28 19:16:40.000000000 +0200 @@ -1,4 +1,4 @@ -CXXFLAGS = -DNDEBUG -g -O2 +CXXFLAGS += -DNDEBUG -g -O2 #CXXFLAGS = -g # -fPIC is supported. Please report any breakage of -fPIC as a bug. # CXXFLAGS += -fPIC -@@ -34,9 +34,7 @@ +@@ -22,21 +22,20 @@ + CXX = g++ + endif + ++IS_SUN_CC = $(shell $(CXX) -V 2>&1 | $(EGREP) -c "CC: Sun") ++ + ifeq ($(ISX86),1) + + GCC42_OR_LATER = $(shell $(CXX) -v 2>&1 | $(EGREP) -c "^gcc version (4.[2-9]|[5-9])") + INTEL_COMPILER = $(shell $(CXX) --version 2>&1 | $(EGREP) -c "\(ICC\)") + ICC111_OR_LATER = $(shell $(CXX) --version 2>&1 | $(EGREP) -c "\(ICC\) ([2-9][0-9]|1[2-9]|11\.[1-9])") +-IS_SUN_CC = $(shell $(CXX) -V 2>&1 | $(EGREP) -c "CC: Sun") + GAS210_OR_LATER = $(shell echo "" | $(AS) -v 2>&1 | $(EGREP) -c "GNU assembler version (2\.[1-9][0-9]|[3-9])") + GAS217_OR_LATER = $(shell echo "" | $(AS) -v 2>&1 | $(EGREP) -c "GNU assembler version (2\.1[7-9]|2\.[2-9]|[3-9])") + GAS219_OR_LATER = $(shell echo "" | $(AS) -v 2>&1 | $(EGREP) -c "GNU assembler version (2\.19|2\.[2-9]|[3-9])") ISMINGW = $(shell $(CXX) --version 2>&1 | $(EGREP) -c "mingw") ifneq ($(GCC42_OR_LATER),0)
participants (1)
-
raphael@macports.org