Skip to content

Commit

Permalink
devel/google-cloud-cpp: Unbreak on HEAD
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
5u623l20 committed May 2, 2023
1 parent 0c974e9 commit 20a082d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion devel/google-cloud-cpp/Makefile
Expand Up @@ -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>

0 comments on commit 20a082d

Please sign in to comment.