git: e1c2ac2fef5e - main - math/qhull: Fix stage-qa after 6db564e9a16951384daf415e1323e71f71693316

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 25 Oct 2021 16:05:44 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e1c2ac2fef5e792c69fcf7c42488a271a51a4a57

commit e1c2ac2fef5e792c69fcf7c42488a271a51a4a57
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-10-25 15:16:31 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-10-25 16:00:07 +0000

    math/qhull: Fix stage-qa after 6db564e9a16951384daf415e1323e71f71693316
    
    ====> Running Q/A tests (stage-qa)
    ====> Checking for pkg-plist issues (check-plist)
    ===> Parsing plist
    ===> Checking for items in STAGEDIR missing from pkg-plist
    Error: Orphaned: lib/cmake/Qhull/QhullTargets-%%CMAKE_BUILD_TYPE%%.cmake
    ===> Checking for items in pkg-plist which are not in STAGEDIR
    ===> Error: Plist issues found.
    *** Error code 1
    
    Stop.
    make: stopped in /usr/ports/math/qhull
    =>> Error: check-plist failures detected
    
    Approved by:    portmgr (blanket)
---
 math/qhull/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/math/qhull/Makefile b/math/qhull/Makefile
index 07cc4afd6081..1dec31e1a603 100644
--- a/math/qhull/Makefile
+++ b/math/qhull/Makefile
@@ -27,4 +27,7 @@ PORTDOCS=	*
 
 DOCS_EXTRA_PATCHES_OFF=	${PATCHDIR}/extra-patch-CMakeLists.txt
 
+post-install:
+	${RM} ${STAGEDIR}${PREFIX}/lib/cmake/Qhull/QhullTargets-${CMAKE_BUILD_TYPE:tl}.cmake
+
 .include <bsd.port.mk>