aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/tix
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-26 00:44:22 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-26 00:48:20 +0000
commit95274bf4f99c71fc056013d966aec239161dfd74 (patch)
treebc1e95977678cb5b6b00b33e333b28161885e706 /x11-toolkits/tix
parentdbe06d2da8c38d9d058f7939a7c6af36a2c0f1c7 (diff)
downloadports-95274bf4f99c71fc056013d966aec239161dfd74.tar.gz
ports-95274bf4f99c71fc056013d966aec239161dfd74.zip
Diffstat (limited to 'x11-toolkits/tix')
-rw-r--r--x11-toolkits/tix/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/x11-toolkits/tix/Makefile b/x11-toolkits/tix/Makefile
index 236788c1d526..2f1f5f125232 100644
--- a/x11-toolkits/tix/Makefile
+++ b/x11-toolkits/tix/Makefile
@@ -17,6 +17,12 @@ WRKSRC= ${WRKDIR}/Tix${DISTVERSION}
TIX_LIB= libTix${PORTVERSION}.so
TIX_LIB_FILE= ${TIX_LIB}.0
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
+.endif
+
pre-configure:
@(cd ${WRKSRC} && \
CC="${CC}" ac_cv_path_CC="${CC}" CFLAGS="${CFLAGS}" \
@@ -46,10 +52,4 @@ post-install:
${LN} -sf ${PREFIX}/include/tix/generic/tix.h ${STAGEDIR}${PREFIX}/include/tix.h
${RMDIR} ${STAGEDIR}${PREFIX}/lib/Tix${PORTVERSION}/html
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
-CFLAGS+= -Wno-error=incompatible-function-pointer-types
-.endif
-
.include <bsd.port.post.mk>