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 + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: @${REINPLACE_CMD} -e 's/FreeBSD-\*/FreeBSD-*|DragonFly-*/' \ ${WRKSRC}/configure