git: c3aacd80a0d9 - main - devel/configkit: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Jul 2023 15:04:18 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=c3aacd80a0d95a337e11dbb21cee933120f9dccb commit c3aacd80a0d95a337e11dbb21cee933120f9dccb Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-26 14:53:25 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-26 15:04:03 +0000 devel/configkit: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- devel/configkit/Makefile | 12 +++++++++++- devel/configkit/pkg-plist | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/devel/configkit/Makefile b/devel/configkit/Makefile index ff6b629a4bc2..c5b5da792cd7 100644 --- a/devel/configkit/Makefile +++ b/devel/configkit/Makefile @@ -11,8 +11,18 @@ WWW= http://phk.freebsd.dk/phkrel/ BUILD_DEPENDS= ${LOCALBASE}/lib/libphk.a:devel/libphk -WRKSRC= ${WRKDIR}/ConfigKit USES= uidfix + MAKE_ARGS= BINDIR=${PREFIX}/bin LIBDIR=${PREFIX}/lib INCLUDEDIR=${PREFIX}/include +WRKSRC= ${WRKDIR}/ConfigKit + +.include <bsd.port.options.mk> + +.if defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 ) +PLIST_SUB+= PROFILE="@comment " +.else +PLIST_SUB+= PROFILE="" +.endif + .include <bsd.port.mk> diff --git a/devel/configkit/pkg-plist b/devel/configkit/pkg-plist index 427e30cea5f1..b268e48c7ae7 100644 --- a/devel/configkit/pkg-plist +++ b/devel/configkit/pkg-plist @@ -3,4 +3,4 @@ include/configkit.h include/configkit_int.h include/configkit_src.h lib/libconfigkit.a -lib/libconfigkit_p.a +%%PROFILE%%lib/libconfigkit_p.a