diff options
author | Xin LI <delphij@FreeBSD.org> | 2011-01-27 20:47:30 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2011-01-27 20:47:30 +0000 |
commit | 7e4d1a3af0ef64785a1d0019ad87b84c531fc9c2 (patch) | |
tree | 66eb4f80afb6a60e669104066c1e1cd842982e47 /security | |
parent | a6cdfcc87a04116e0836eae26806f66ce29c1218 (diff) | |
download | ports-7e4d1a3af0ef64785a1d0019ad87b84c531fc9c2.tar.gz ports-7e4d1a3af0ef64785a1d0019ad87b84c531fc9c2.zip |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/cryptopp/files/patch-GNUmakefile | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/security/cryptopp/files/patch-GNUmakefile b/security/cryptopp/files/patch-GNUmakefile index 4da1b1a4f76e..43ca3c81f89f 100644 --- a/security/cryptopp/files/patch-GNUmakefile +++ b/security/cryptopp/files/patch-GNUmakefile @@ -1,8 +1,21 @@ ---- ./GNUmakefile.orig 2009-03-15 02:48:02.000000000 -0700 -+++ ./GNUmakefile 2009-03-26 16:26:05.337805000 -0700 +--- ./GNUmakefile.orig 2010-08-09 14:22:42.000000000 -0700 ++++ ./GNUmakefile 2011-01-27 12:43:08.905856979 -0800 @@ -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 +@@ -28,9 +28,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])") ++GAS210_OR_LATER = $(shell echo "" | $(CXX) -xc -c -Wa,-v -o/dev/null - 2>&1 | $(EGREP) -c "GNU assembler version (2\.[1-9][0-9]|[3-9])") ++GAS217_OR_LATER = $(shell echo "" | $(CXX) -xc -c -Wa,-v -o/dev/null - 2>&1 | $(EGREP) -c "GNU assembler version (2\.1[7-9]|2\.[2-9]|[3-9])") ++GAS219_OR_LATER = $(shell echo "" | $(CXX) -xc -c -Wa,-v -o/dev/null - 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) |