diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-03-04 22:06:03 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-03-04 22:06:03 +0100 |
commit | 71d64690550602953eea0737507cbc47999b4126 (patch) | |
tree | d4a45e53d34d505a56ab22756162e0018ba5b711 /package/tcl | |
parent | a8c2f992ffdcd61def5614187d77f0f6dcaddb04 (diff) |
fix native compile, make tcl usable
Diffstat (limited to 'package/tcl')
-rw-r--r-- | package/tcl/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/package/tcl/Makefile b/package/tcl/Makefile index 964bb6250..6dbed8f03 100644 --- a/package/tcl/Makefile +++ b/package/tcl/Makefile @@ -17,7 +17,7 @@ WRKSRC= ${WRKDIST}/unix include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,TCL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,TCL,tcl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) TARGET_LDFLAGS+= -ldl CONFIGURE_ENV+= tcl_cv_strstr_unbroken=ok \ @@ -29,9 +29,12 @@ CONFIGURE_ARGS+= --enable-man-symlinks \ --disable-rpath INSTALL_TARGET= install-binaries install-libraries -post-install: +tcl-install: ${INSTALL_DIR} ${IDIR_TCL}/usr/lib ${IDIR_TCL}/usr/bin ${CP} ${WRKINST}/usr/bin/* ${IDIR_TCL}/usr/bin + cd ${IDIR_TCL}/usr/bin && ln -sf tclsh8.5 tclsh ${CP} ${WRKINST}/usr/lib/*.so* ${IDIR_TCL}/usr/lib + ${CP} ${WRKINST}/usr/lib/tcl8 ${IDIR_TCL}/usr/lib + ${CP} ${WRKINST}/usr/lib/tcl8.5 ${IDIR_TCL}/usr/lib include ${TOPDIR}/mk/pkg-bottom.mk |