aboutsummaryrefslogtreecommitdiff
path: root/lang/otcl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/otcl/Makefile')
-rw-r--r--lang/otcl/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/lang/otcl/Makefile b/lang/otcl/Makefile
index 2587aa845095..8d1cbf7fd5a1 100644
--- a/lang/otcl/Makefile
+++ b/lang/otcl/Makefile
@@ -12,9 +12,14 @@ MASTER_SITES= http://www-mash.cs.berkeley.edu/dist/
MAINTAINER= obonilla@fisicc-ufm.edu
-LIB_DEPENDS= tk80.1:${PORTSDIR}/x11-toolkits/tk80
+LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --includedir=${PREFIX}/include/tcl8.0/generic
+CONFIGURE_ARGS= --includedir=${PREFIX}/include/tcl8.2/generic \
+ --with-tcl-ver=8.2
+
+post-install:
+ ${LN} -sf libotcl.so.1 ${PREFIX}/lib/libotcl.so
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>