aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2013-11-07 10:52:10 +0800
committerclsung <clsung@FreeBSD.org>2013-11-07 10:52:10 +0800
commit6664222ab207831f0f2d7e418c5c5033c8f0e2cd (patch)
treec17323f2fa601d110cf344f8cbf0f6303b35f6aa
parent46eb52348602dd5fb278892d9cfbc9a523d9c4e7 (diff)
downloadfreebsd-ports-gnome-6664222ab207831f0f2d7e418c5c5033c8f0e2cd.tar.gz
freebsd-ports-gnome-6664222ab207831f0f2d7e418c5c5033c8f0e2cd.tar.zst
freebsd-ports-gnome-6664222ab207831f0f2d7e418c5c5033c8f0e2cd.zip
convert to STAGE
-rw-r--r--devel/googletest/Makefile1
-rw-r--r--devel/googletest/files/patch-include_gtest_internal_gtest-port.h13
2 files changed, 11 insertions, 3 deletions
diff --git a/devel/googletest/Makefile b/devel/googletest/Makefile
index 3431022349e8..376c2ab9acd1 100644
--- a/devel/googletest/Makefile
+++ b/devel/googletest/Makefile
@@ -14,7 +14,6 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_PYTHON_BUILD= yes
-NO_STAGE= yes
regression-test:
cd ${WRKSRC}; ${MAKE} check
diff --git a/devel/googletest/files/patch-include_gtest_internal_gtest-port.h b/devel/googletest/files/patch-include_gtest_internal_gtest-port.h
index c288e227a62f..7f4aea7a0c34 100644
--- a/devel/googletest/files/patch-include_gtest_internal_gtest-port.h
+++ b/devel/googletest/files/patch-include_gtest_internal_gtest-port.h
@@ -1,5 +1,5 @@
---- include/gtest/internal/gtest-port.h.orig 2010-04-15 22:02:02.000000000 +0000
-+++ include/gtest/internal/gtest-port.h
+--- include/gtest/internal/gtest-port.h.orig 2010-04-16 06:02:02.000000000 +0800
++++ include/gtest/internal/gtest-port.h 2013-10-16 23:39:02.000000000 +0800
@@ -173,6 +173,7 @@
#include <stdlib.h>
#include <stdio.h>
@@ -8,3 +8,12 @@
#ifndef _WIN32_WCE
#include <sys/stat.h>
#endif // !_WIN32_WCE
+@@ -399,7 +400,7 @@
+ // defining __GNUC__ and friends, but cannot compile GCC's tuple
+ // implementation. MSVC 2008 (9.0) provides TR1 tuple in a 323 MB
+ // Feature Pack download, which we cannot assume the user has.
+-#if (defined(__GNUC__) && !defined(__CUDACC__) && (GTEST_GCC_VER_ >= 40000)) \
++#if (defined(__GNUC__) && !defined(__CUDACC__) && !defined(_LIBCPP_VERSION) && (GTEST_GCC_VER_ >= 40000)) \
+ || _MSC_VER >= 1600
+ #define GTEST_USE_OWN_TR1_TUPLE 0
+ #else