diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-23 14:51:00 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-23 15:53:02 +0000 |
commit | 10a048804600b194ba3eff825a34a024ed2a085d (patch) | |
tree | d583a4b0ff5f16c321292c5640298b7a7eee1c96 | |
parent | 9edad843b52da3902aa8bf57691d94e887ca45dc (diff) | |
download | ports-10a048804600b194ba3eff825a34a024ed2a085d.tar.gz ports-10a048804600b194ba3eff825a34a024ed2a085d.zip |
x11-toolkits/tktable: Fix build with llvm16
- Pet portclippy
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | x11-toolkits/tktable/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/x11-toolkits/tktable/Makefile b/x11-toolkits/tktable/Makefile index 2ad4cba4e085..36610f8dec8f 100644 --- a/x11-toolkits/tktable/Makefile +++ b/x11-toolkits/tktable/Makefile @@ -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 |