diff options
author | marino <marino@FreeBSD.org> | 2014-09-08 01:48:35 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-09-08 01:48:35 +0800 |
commit | ff69cbbed2a3ab0d1d7b688dc04c36a513a857b2 (patch) | |
tree | 5e7f76dc10a42a13f243ec49083943ef9a0887ae /devel | |
parent | 41fbf1d7009c1fd4d4060ffdf95d4ba46076fb24 (diff) | |
download | freebsd-ports-gnome-ff69cbbed2a3ab0d1d7b688dc04c36a513a857b2.tar.gz freebsd-ports-gnome-ff69cbbed2a3ab0d1d7b688dc04c36a513a857b2.tar.zst freebsd-ports-gnome-ff69cbbed2a3ab0d1d7b688dc04c36a513a857b2.zip |
Remove unstaged lang/otcl and three staged ports that depend it
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/tclcl/Makefile | 61 | ||||
-rw-r--r-- | devel/tclcl/distinfo | 2 | ||||
-rw-r--r-- | devel/tclcl/files/patch-Tcl.cc | 20 | ||||
-rw-r--r-- | devel/tclcl/files/patch-Tcl2.cc | 11 | ||||
-rw-r--r-- | devel/tclcl/files/patch-rate-variable.cc | 20 | ||||
-rw-r--r-- | devel/tclcl/files/patch-rate-variable.h | 11 | ||||
-rw-r--r-- | devel/tclcl/files/patch-tclcl.h | 11 | ||||
-rw-r--r-- | devel/tclcl/pkg-descr | 1 | ||||
-rw-r--r-- | devel/tclcl/pkg-plist | 15 |
10 files changed, 0 insertions, 153 deletions
diff --git a/devel/Makefile b/devel/Makefile index fb7b2218f817..adfb78bb13b5 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4652,7 +4652,6 @@ SUBDIR += tcl-trf SUBDIR += tclap SUBDIR += tclcheck - SUBDIR += tclcl SUBDIR += tclgetopts SUBDIR += tcllib SUBDIR += tclmore diff --git a/devel/tclcl/Makefile b/devel/tclcl/Makefile deleted file mode 100644 index 07e2df958e64..000000000000 --- a/devel/tclcl/Makefile +++ /dev/null @@ -1,61 +0,0 @@ -# Created by: obonilla@fisicc-ufm.edu -# $FreeBSD$ - -PORTNAME= tclcl -PORTVERSION= 1.20 -DISTVERSIONPREFIX= src- -CATEGORIES= devel tcl tk -MASTER_SITES= SF/otcl-${PORTNAME}/TclCL/${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Tcl/C++ interface used by ns and nam - -LICENSE= BSD - -LIB_DEPENDS= libotcl.so:${PORTSDIR}/lang/otcl - -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} - -USE_XORG= x11 -USE_AUTOTOOLS= autoconf -GNU_CONFIGURE= yes -PORTDOCS= CHANGES.html TODO.html - -OPTIONS_DEFINE= DOCS - -.include <bsd.port.options.mk> - -# We have to link against the same Tcl/Tk version as OTcl does -.if exists(${LOCALBASE}/bin/otclsh) -OTCL_TCLVER!= ${ECHO_CMD} puts \$$tcl_version | ${LOCALBASE}/bin/otclsh -USES+= tk:${OTCL_TCLVER:S/.//} -.else -USES+= tk -.endif - -CONFIGURE_ARGS= --with-tcl-ver=${TCL_VER} --with-tk-ver=${TK_VER} - -post-patch: - @${REINPLACE_CMD} -e 's|exec tclsh|exec ${TCLSH}|g' ${WRKSRC}/otcldoc - @${REINPLACE_CMD} -e 's|../lib/tcl$$TCL_HI_VERS|${TCL_LIBDIR}|g' \ - -e 's|../include|${TCL_INCLUDEDIR}/generic|g' ${WRKSRC}/conf/configure.in.tcl - @${REINPLACE_CMD} -e 's|../lib/tk$$TK_HI_VERS|${TK_LIBDIR}|g' \ - -e 's|../include|${TK_INCLUDEDIR}/generic|g' ${WRKSRC}/conf/configure.in.tk - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/tcl2c++ ${STAGEDIR}${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/otcldoc ${STAGEDIR}${PREFIX}/bin - ${MKDIR} ${STAGEDIR}${PREFIX}/include/tclcl - ${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/tclcl - ${INSTALL_DATA} ${WRKSRC}/libtclcl.a ${STAGEDIR}${PREFIX}/lib - @${LN} -sf ${PREFIX}/lib/libtclcl.a ${STAGEDIR}${PREFIX}/lib/libTcl.a - -post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for FILE in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} -.endfor -.endif - -.include <bsd.port.mk> diff --git a/devel/tclcl/distinfo b/devel/tclcl/distinfo deleted file mode 100644 index 4ed380bc5433..000000000000 --- a/devel/tclcl/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (tclcl-src-1.20.tar.gz) = 64fd1ec4b1d1c13229e58a7e10bf8422d804c5d3f00221117eafc2aff306dc78 -SIZE (tclcl-src-1.20.tar.gz) = 171728 diff --git a/devel/tclcl/files/patch-Tcl.cc b/devel/tclcl/files/patch-Tcl.cc deleted file mode 100644 index 146515dbdf3f..000000000000 --- a/devel/tclcl/files/patch-Tcl.cc +++ /dev/null @@ -1,20 +0,0 @@ ---- Tcl.cc.orig 2007-02-04 02:46:43.000000000 +0100 -+++ Tcl.cc 2013-05-13 09:19:37.000000000 +0200 -@@ -213,7 +213,7 @@ - if (strlen(s) > MAX_CODE_TO_DUMP) { - s = "\n[code omitted because of length]\n"; - }; -- fprintf(stderr, "%s: \"%s\": %s\n", application_, s, tcl_->result); -+ fprintf(stderr, "%s: \"%s\": %s\n", application_, s, Tcl_GetStringResult(tcl_)); - exit(1); - } - -@@ -546,7 +546,7 @@ - need_parse = 1; - continue; - }; -- result = Tcl_SplitList(in, argv[i], &ac, (const char ***) &av); -+ result = Tcl_SplitList(in, argv[i], &ac, (CONST84 char ***) &av); - if (result != TCL_OK) break; - if (ac == 1) { - varName = localName = av[0]; diff --git a/devel/tclcl/files/patch-Tcl2.cc b/devel/tclcl/files/patch-Tcl2.cc deleted file mode 100644 index 5b463dd70f58..000000000000 --- a/devel/tclcl/files/patch-Tcl2.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- Tcl2.cc.orig 2013-05-13 09:23:36.000000000 +0200 -+++ Tcl2.cc 2013-05-13 09:25:20.000000000 +0200 -@@ -88,7 +88,7 @@ - va_list ap; - va_start(ap, fmt); - vsprintf(bp_, fmt, ap); -- tcl_->result = bp_; -+ Tcl_SetResult(tcl_, (char *)bp_, NULL); - } - - void Tcl::add_errorf(const char* fmt, ...) diff --git a/devel/tclcl/files/patch-rate-variable.cc b/devel/tclcl/files/patch-rate-variable.cc deleted file mode 100644 index 8bb6f5d31321..000000000000 --- a/devel/tclcl/files/patch-rate-variable.cc +++ /dev/null @@ -1,20 +0,0 @@ ---- rate-variable.cc.orig 2013-05-13 09:26:02.000000000 +0200 -+++ rate-variable.cc 2013-05-13 09:26:47.000000000 +0200 -@@ -65,7 +65,7 @@ - (void)new RateVariable; - } - --char* RateVariable::update_rate_var(ClientData clientData, Tcl_Interp* tcl, -+const char* RateVariable::update_rate_var(ClientData clientData, Tcl_Interp* tcl, - CONST84 char* name1, - CONST84 char* name2, int flags) - { -@@ -82,7 +82,7 @@ - flags &= TCL_GLOBAL_ONLY; - CONST char* cv = (char *) Tcl_GetVar2(tcl, name1, name2, flags); - if (cv == NULL) -- return (tcl->result); -+ return (Tcl_GetStringResult(tcl)); - int curval = atoi(cv); - double rate = 0.; - timeval tv; diff --git a/devel/tclcl/files/patch-rate-variable.h b/devel/tclcl/files/patch-rate-variable.h deleted file mode 100644 index e8a16f008e8d..000000000000 --- a/devel/tclcl/files/patch-rate-variable.h +++ /dev/null @@ -1,11 +0,0 @@ ---- rate-variable.h.orig 2013-05-13 09:26:59.000000000 +0200 -+++ rate-variable.h 2013-05-13 09:27:45.000000000 +0200 -@@ -41,7 +41,7 @@ - RateVariable() : TclCommand("rate_variable") {} - static void init(); - protected: -- static char* update_rate_var(ClientData, Tcl_Interp*, -+ static const char* update_rate_var(ClientData, Tcl_Interp*, - CONST84 char* name1, - CONST84 char* name2, - int flags); diff --git a/devel/tclcl/files/patch-tclcl.h b/devel/tclcl/files/patch-tclcl.h deleted file mode 100644 index 5311c1144c74..000000000000 --- a/devel/tclcl/files/patch-tclcl.h +++ /dev/null @@ -1,11 +0,0 @@ ---- tclcl.h.orig 2013-05-13 09:20:07.000000000 +0200 -+++ tclcl.h 2013-05-13 09:23:19.000000000 +0200 -@@ -85,7 +85,7 @@ - /* may not work at all! */ - inline char* result() const { return (tcl_->result); } - #endif /* TCL_MAJOR_VERSION >= 8 */ -- inline void result(const char* p) { tcl_->result = (char*)p; } -+ inline void result(const char* p) {Tcl_SetResult (tcl_, (char *)p, NULL);} - void resultf(const char* fmt, ...); - inline void CreateCommand(const char* cmd, Tcl_CmdProc* cproc, - ClientData cd = 0, diff --git a/devel/tclcl/pkg-descr b/devel/tclcl/pkg-descr deleted file mode 100644 index 62e6035efac5..000000000000 --- a/devel/tclcl/pkg-descr +++ /dev/null @@ -1 +0,0 @@ -tcl/C++ interface used by ns and nam diff --git a/devel/tclcl/pkg-plist b/devel/tclcl/pkg-plist deleted file mode 100644 index c5977181384c..000000000000 --- a/devel/tclcl/pkg-plist +++ /dev/null @@ -1,15 +0,0 @@ -bin/otcldoc -bin/tcl2c++ -include/tclcl/config.h -include/tclcl/idlecallback.h -include/tclcl/iohandler.h -include/tclcl/rate-variable.h -include/tclcl/tclcl-config.h -include/tclcl/tclcl-internal.h -include/tclcl/tclcl-mappings.h -include/tclcl/tclcl.h -include/tclcl/timer.h -include/tclcl/tracedvar.h -lib/libTcl.a -lib/libtclcl.a -@dirrm include/tclcl |