aboutsummaryrefslogtreecommitdiff
path: root/lang/otcl
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-11-28 18:32:45 +0000
committerSteve Price <steve@FreeBSD.org>1999-11-28 18:32:45 +0000
commitbc087374d35aa9c841dd63d44e9c9697702921ed (patch)
tree9bfffecdf0e79fc2f3af0e2a2f1044536ad164ca /lang/otcl
parent3689fb2140698b1b4eff0933fe730262b161f533 (diff)
downloadports-bc087374d35aa9c841dd63d44e9c9697702921ed.tar.gz
ports-bc087374d35aa9c841dd63d44e9c9697702921ed.zip
Notes
Diffstat (limited to 'lang/otcl')
-rw-r--r--lang/otcl/Makefile9
-rw-r--r--lang/otcl/pkg-plist3
2 files changed, 10 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>
diff --git a/lang/otcl/pkg-plist b/lang/otcl/pkg-plist
index f0f24c23686e..00574abc8478 100644
--- a/lang/otcl/pkg-plist
+++ b/lang/otcl/pkg-plist
@@ -3,3 +3,6 @@ bin/owish
include/otcl.h
lib/libotcl.a
lib/libotcl.so.1
+lib/libotcl.so
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R