Skip to content

Commit

Permalink
x11-toolkits/tktable: Fix build with llvm16
Browse files Browse the repository at this point in the history
- Pet portclippy

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jul 23, 2023
1 parent 9edad84 commit 10a0488
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion x11-toolkits/tktable/Makefile
Expand Up @@ -14,11 +14,18 @@ LICENSE_NAME= Tcl/Tk License
LICENSE_FILE= ${WRKSRC}/license.txt
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

USES+= tk:tea
USES= tk:tea
TCL_PKG= ${DISTNAME}
USE_LDCONFIG= ${PREFIX}/lib/${DISTNAME}

TEST_TARGET= test

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

post-patch:
@${REINPLACE_CMD} -e 's/FreeBSD-\*/FreeBSD-*|DragonFly-*/' \
${WRKSRC}/configure
Expand Down

0 comments on commit 10a0488

Please sign in to comment.