aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2019-01-13 02:33:44 +0800
committerdanilo <danilo@FreeBSD.org>2019-01-13 02:33:44 +0800
commite0ffad4d33caf35969920204025f97997a1b7dcb (patch)
treebff0e9e9e58618557ffa4670b2a3056383c52559
parentb93da159034a69a3bcd1508fd1dae97130c213e5 (diff)
downloadfreebsd-ports-gnome-e0ffad4d33caf35969920204025f97997a1b7dcb.tar.gz
freebsd-ports-gnome-e0ffad4d33caf35969920204025f97997a1b7dcb.tar.zst
freebsd-ports-gnome-e0ffad4d33caf35969920204025f97997a1b7dcb.zip
- Update to 0.3.0
- Add compiler:c11 to fix build on archs that still use GCC as default compiler [1] PR: 234098 Submitted by: Piotr Kubaj [1]
-rw-r--r--devel/aws-c-commons/Makefile7
-rw-r--r--devel/aws-c-commons/distinfo6
-rw-r--r--devel/aws-c-commons/files/patch-CMakeLists.txt14
-rw-r--r--devel/aws-c-commons/pkg-plist8
4 files changed, 23 insertions, 12 deletions
diff --git a/devel/aws-c-commons/Makefile b/devel/aws-c-commons/Makefile
index 9691079b4792..25d656ed32e0 100644
--- a/devel/aws-c-commons/Makefile
+++ b/devel/aws-c-commons/Makefile
@@ -2,7 +2,9 @@
# $FreeBSD$
PORTNAME= aws-c-common
-PORTVERSION= 20181212
+PORTVERSION= 0.3.0
+DISTVERSIONPREFIX= v
+PORTEPOCH= 1
CATEGORIES= devel
MAINTAINER= danilo@FreeBSD.org
@@ -10,11 +12,10 @@ COMMENT= Core c99 package for AWS SDK for C
LICENSE= APACHE20
-USES= cmake
+USES= cmake compiler:c11
USE_GITHUB= yes
GH_ACCOUNT= awslabs
-GH_TAGNAME= 5a85d87
CFLAGS+= -D__BSD_VISIBLE=1
CMAKE_ARGS+= -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON
diff --git a/devel/aws-c-commons/distinfo b/devel/aws-c-commons/distinfo
index 1a00875b2787..88dd9872638f 100644
--- a/devel/aws-c-commons/distinfo
+++ b/devel/aws-c-commons/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1544821339
-SHA256 (awslabs-aws-c-common-20181212-5a85d87_GH0.tar.gz) = 92b8e449cff7c22550a25bbc270c1af2477a86b5ec7e2da2c3ff6e816464d92d
-SIZE (awslabs-aws-c-common-20181212-5a85d87_GH0.tar.gz) = 164228
+TIMESTAMP = 1547063707
+SHA256 (awslabs-aws-c-common-v0.3.0_GH0.tar.gz) = e65f0ce87a7050c9eb66a7aa8c43fa93293a62bab06a5ceaeef82a8d17b06fc5
+SIZE (awslabs-aws-c-common-v0.3.0_GH0.tar.gz) = 167114
diff --git a/devel/aws-c-commons/files/patch-CMakeLists.txt b/devel/aws-c-commons/files/patch-CMakeLists.txt
index 6f8bd1ff0fb1..584f23a81e74 100644
--- a/devel/aws-c-commons/files/patch-CMakeLists.txt
+++ b/devel/aws-c-commons/files/patch-CMakeLists.txt
@@ -1,8 +1,16 @@
---- CMakeLists.txt.orig 2018-12-05 21:54:26 UTC
+--- CMakeLists.txt.orig 2019-01-09 19:56:14 UTC
+++ CMakeLists.txt
-@@ -182,7 +182,7 @@ list(APPEND EXPORT_MODULES
+@@ -104,7 +104,6 @@ if (PERFORM_HEADER_CHECK)
+ endif()
+
+ add_library(${CMAKE_PROJECT_NAME} ${COMMON_SRC})
+-aws_set_common_properties(${CMAKE_PROJECT_NAME} NO_WEXTRA)
+ aws_prepare_symbol_visibility_args(${CMAKE_PROJECT_NAME} "AWS_COMMON")
- install(FILES ${EXPORT_MODULES} DESTINATION "lib/cmake/")
+ #apple source already includes the definitions we want, and setting this posix source
+@@ -205,7 +204,7 @@ install(FILES ${EXPORT_MODULES}
+ DESTINATION "${LIBRARY_DIRECTORY}/cmake"
+ COMPONENT Development)
-if (NOT CMAKE_CROSSCOMPILING)
+if (NOT CMAKE_CROSSCOMPILING AND BUILD_TESTING)
diff --git a/devel/aws-c-commons/pkg-plist b/devel/aws-c-commons/pkg-plist
index dc8ac5c66b53..bfadc0de102d 100644
--- a/devel/aws-c-commons/pkg-plist
+++ b/devel/aws-c-commons/pkg-plist
@@ -39,9 +39,11 @@ lib/aws-c-common/cmake/aws-c-common-config.cmake
lib/aws-c-common/cmake/aws-c-common-targets-release.cmake
lib/aws-c-common/cmake/aws-c-common-targets.cmake
lib/cmake/AwsCFlags.cmake
+lib/cmake/AwsLibFuzzer.cmake
+lib/cmake/AwsSIMD.cmake
+lib/cmake/AwsSanitizers.cmake
+lib/cmake/AwsSharedLibSetup.cmake
lib/cmake/AwsTestHarness.cmake
-lib/cmake/LibFuzzer.cmake
-lib/cmake/SIMD.cmake
-lib/cmake/Sanitizers.cmake
lib/libaws-c-common.so
lib/libaws-c-common.so.0unstable
+lib/libaws-c-common.so.1.0.0