summaryrefslogtreecommitdiff
path: root/lang/otcl/Makefile
diff options
context:
space:
mode:
authorFrank J. Laszlo <laszlof@FreeBSD.org>2006-12-01 14:14:47 +0000
committerFrank J. Laszlo <laszlof@FreeBSD.org>2006-12-01 14:14:47 +0000
commit3105b28d41c7b2aae4c4aefcc219f0d73a64c6b0 (patch)
treecbdf6149702339990e73dd7d637ebbcf204f1707 /lang/otcl/Makefile
parentRespect X11BASE. (diff)
Respect X11BASE
Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=178466
Diffstat (limited to 'lang/otcl/Makefile')
-rw-r--r--lang/otcl/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/otcl/Makefile b/lang/otcl/Makefile
index 9eeca690ade4..c8a8e88f095e 100644
--- a/lang/otcl/Makefile
+++ b/lang/otcl/Makefile
@@ -23,6 +23,10 @@ USE_LDCONFIG= yes
PKGINSTALL= ${PORTSDIR}/lang/tcl84/pkg-install.tclsh
PKGDEINSTALL= ${PORTSDIR}/lang/tcl84/pkg-deinstall.tclsh
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/conf/configure.in.x11
+
post-install:
${LN} -sf libotcl.so ${PREFIX}/lib/libotcl.so.1
${STRIP_CMD} ${PREFIX}/bin/otclsh