Skip to content

Commit

Permalink
devel/configkit: Fix build with llvm16
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jul 26, 2023
1 parent e8bcd9a commit c3aacd8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion devel/configkit/Makefile
Expand Up @@ -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>
2 changes: 1 addition & 1 deletion devel/configkit/pkg-plist
Expand Up @@ -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

0 comments on commit c3aacd8

Please sign in to comment.