diff options
Diffstat (limited to 'lang')
-rw-r--r-- | lang/otcl/Makefile | 4 |
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 |