diff options
Diffstat (limited to 'lang')
-rw-r--r-- | lang/itcl/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/itcl/Makefile b/lang/itcl/Makefile index 1c67b768a5e3..10f002a28a5b 100644 --- a/lang/itcl/Makefile +++ b/lang/itcl/Makefile @@ -17,6 +17,7 @@ MAINTAINER= ports@freebsd.org LIB_DEPENDS= tcl83:${PORTSDIR}/lang/tcl83 WRKSRC= ${WRKDIR}/${DISTNAME}/itcl +USE_REINPLACE= yes INSTALLS_SHLIB= yes PKGINSTALL= ${PORTSDIR}/lang/tcl83/pkg-install.tclsh PKGDEINSTALL= ${PORTSDIR}/lang/tcl83/pkg-deinstall.tclsh @@ -47,7 +48,7 @@ post-extract: ${RM} ${WRKSRC}/pkgIndex.tcl post-patch: - ${PERL} -pi \ + ${REINPLACE_CMD} \ -e 's,package require Itcl,load [glob \ ${WRKSRC}/${ITCL_LIB}.${SHLIB_MAJOR}*],;' \ ${WRKSRC}/tests/*.test |