aboutsummaryrefslogtreecommitdiff
path: root/devel/tclcl
diff options
context:
space:
mode:
Diffstat (limited to 'devel/tclcl')
-rw-r--r--devel/tclcl/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/tclcl/Makefile b/devel/tclcl/Makefile
index 8cc72a4d2848..1e4c171421d9 100644
--- a/devel/tclcl/Makefile
+++ b/devel/tclcl/Makefile
@@ -21,10 +21,16 @@ LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84 \
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tcl-ver=8.4 --with-tk-ver=8.4
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcl2c++ ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/otcldoc ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/libtclcl.a ${PREFIX}/lib
@${LN} -sf ${PREFIX}/lib/libtclcl.a ${PREFIX}/lib/libTcl.a
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>