From 5548587431e8e94f591df704d6527d93385b94e3 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Sat, 21 Sep 2019 16:43:52 +0000 Subject: [PATCH] devel/qtcreator: Fix packaging when using GCC utils-eventcode-members.html and utils-eventcode.html don't exist when qtcreator is built with GCC. PR: 240298 Approved by: tcberner (maintainer, mentor) --- devel/qtcreator/Makefile | 4 ++-- devel/qtcreator/pkg-plist | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/devel/qtcreator/Makefile b/devel/qtcreator/Makefile index 9b8e2db28b76..f82fdbe6f8be 100644 --- a/devel/qtcreator/Makefile +++ b/devel/qtcreator/Makefile @@ -90,9 +90,9 @@ LLVM_DEFAULT= 80 .endif .if ${CHOSEN_COMPILER_TYPE} == gcc -PLIST_SUB+= GCC="" +PLIST_SUB+= GCC="" CLANG="@comment " .else -PLIST_SUB+= GCC="@comment " +PLIST_SUB+= GCC="@comment " CLANG="" .endif post-patch: diff --git a/devel/qtcreator/pkg-plist b/devel/qtcreator/pkg-plist index 279a1ec2ebd3..eaf44485f0ed 100644 --- a/devel/qtcreator/pkg-plist +++ b/devel/qtcreator/pkg-plist @@ -678,8 +678,8 @@ libexec/qtcreator/sdktool %%PORTDOCS%%%%DOCSDIR%%/qtcreator-dev/utils-elfprogramheader.html %%PORTDOCS%%%%DOCSDIR%%/qtcreator-dev/utils-elfsectionheader-members.html %%PORTDOCS%%%%DOCSDIR%%/qtcreator-dev/utils-elfsectionheader.html -%%PORTDOCS%%%%DOCSDIR%%/qtcreator-dev/utils-eventcode-members.html -%%PORTDOCS%%%%DOCSDIR%%/qtcreator-dev/utils-eventcode.html +%%CLANG%%%%PORTDOCS%%%%DOCSDIR%%/qtcreator-dev/utils-eventcode-members.html +%%CLANG%%%%PORTDOCS%%%%DOCSDIR%%/qtcreator-dev/utils-eventcode.html %%PORTDOCS%%%%DOCSDIR%%/qtcreator-dev/utils-executeondestruction-members.html %%PORTDOCS%%%%DOCSDIR%%/qtcreator-dev/utils-executeondestruction.html %%PORTDOCS%%%%DOCSDIR%%/qtcreator-dev/utils-functiontakesargument.html @@ -691,8 +691,6 @@ libexec/qtcreator/sdktool %%PORTDOCS%%%%DOCSDIR%%/qtcreator-dev/utils-internal-allocatedlayout-data.html %%PORTDOCS%%%%DOCSDIR%%/qtcreator-dev/utils-internal-allocatedlayout-members.html %%PORTDOCS%%%%DOCSDIR%%/qtcreator-dev/utils-internal-allocatedlayout.html -%%GCC%%%%PORTDOCS%%%%DOCSDIR%%/qtcreator-dev/utils-internal-asyncjob-members.html -%%GCC%%%%PORTDOCS%%%%DOCSDIR%%/qtcreator-dev/utils-internal-asyncjob.html %%PORTDOCS%%%%DOCSDIR%%/qtcreator-dev/utils-internal-bestitemtype.html %%PORTDOCS%%%%DOCSDIR%%/qtcreator-dev/utils-internal-colortip-members.html %%PORTDOCS%%%%DOCSDIR%%/qtcreator-dev/utils-internal-colortip.html