diff options
| author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-05-02 11:14:34 +0000 |
|---|---|---|
| committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-05-02 11:38:34 +0000 |
| commit | 20a082d9cd958392c285fea0792febfd4469ba82 (patch) | |
| tree | 869a3d4d86affa0580ba36c9478f98692b940e80 /devel/google-cloud-cpp | |
| parent | 0c974e9c7e6409926ff7589c55221872c7652c62 (diff) | |
Diffstat (limited to 'devel/google-cloud-cpp')
| -rw-r--r-- | devel/google-cloud-cpp/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/google-cloud-cpp/Makefile b/devel/google-cloud-cpp/Makefile index 30dd5fd2fee3..fcf40f98ed30 100644 --- a/devel/google-cloud-cpp/Makefile +++ b/devel/google-cloud-cpp/Makefile @@ -40,9 +40,15 @@ CMAKE_OFF= BUILD_TESTING GOOGLE_CLOUD_CPP_ENABLE_CXX_EXCEPTIONS CFLAGS+= -I${BUILD_WRKSRC}/external/googleapis/src/googleapis_project-build LDFLAGS+= -L${BUILD_WRKSRC}/external/googleapis/src/googleapis_project-build +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 +CFLAGS+= -Wno-error=unused-but-set-variable +.endif + post-extract: @${MKDIR} ${BUILD_WRKSRC}/external/googleapis/src/ @${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILE_googleapis} \ ${BUILD_WRKSRC}/external/googleapis/src/370e9f9ac14dbc73f56e15257bccc06dfebd4196.tar.gz -.include <bsd.port.mk> +.include <bsd.port.post.mk> |
