From c3a999b58481c0abb265b7c4ca484dbd7b0dfeed Mon Sep 17 00:00:00 2001 From: Matsuu Takuto Date: Sat, 28 Apr 2007 17:18:09 +0000 Subject: [PATCH] Version bumped. Package-Manager: portage-2.1.2.4 --- dev-tcltk/tclcl/ChangeLog | 9 +- dev-tcltk/tclcl/Manifest | 20 +- dev-tcltk/tclcl/files/digest-tclcl-1.19 | 3 + .../files/tclcl-1.19-configure-cleanup.patch | 264 ++++++++++++++++++ dev-tcltk/tclcl/tclcl-1.19.ebuild | 53 ++++ 5 files changed, 344 insertions(+), 5 deletions(-) create mode 100644 dev-tcltk/tclcl/files/digest-tclcl-1.19 create mode 100644 dev-tcltk/tclcl/files/tclcl-1.19-configure-cleanup.patch create mode 100644 dev-tcltk/tclcl/tclcl-1.19.ebuild diff --git a/dev-tcltk/tclcl/ChangeLog b/dev-tcltk/tclcl/ChangeLog index 4c281af0fbb0..ecaf85bbe806 100644 --- a/dev-tcltk/tclcl/ChangeLog +++ b/dev-tcltk/tclcl/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-tcltk/tclcl # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclcl/ChangeLog,v 1.14 2007/02/22 01:31:01 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclcl/ChangeLog,v 1.15 2007/04/28 17:18:09 matsuu Exp $ + +*tclcl-1.19 (28 Apr 2007) + + 28 Apr 2007; MATSUU Takuto + +files/tclcl-1.19-configure-cleanup.patch, +tclcl-1.19.ebuild: + Version bumped. + Added xorg dependency, bug #155129. 22 Feb 2007; Piotr Jaroszyński ChangeLog: Transition to Manifest2. diff --git a/dev-tcltk/tclcl/Manifest b/dev-tcltk/tclcl/Manifest index fc59268ab992..bfb87dd14b9a 100644 --- a/dev-tcltk/tclcl/Manifest +++ b/dev-tcltk/tclcl/Manifest @@ -10,9 +10,14 @@ AUX tclcl-1.17-configure-cleanup.patch 8941 RMD160 71a7a38110a1ac4374a8bb2d1fd17 MD5 c9c242a68b977afe920d1500ffece293 files/tclcl-1.17-configure-cleanup.patch 8941 RMD160 71a7a38110a1ac4374a8bb2d1fd17c34bcb4b3eb files/tclcl-1.17-configure-cleanup.patch 8941 SHA256 7144466bbd2cb9884a79250de838fa68efc479662bd2ae75e575d9c812c6f7da files/tclcl-1.17-configure-cleanup.patch 8941 +AUX tclcl-1.19-configure-cleanup.patch 8032 RMD160 377de740a42ccfa151b8cacf5f4e6fc720b8d517 SHA1 2e1a9eef45dbb7a1bd92d2a94ea2d2bb77c20a76 SHA256 7ec32b046c12e37bb8102a1411853f58b3bb2ad5bfb67b4039a7d0a0a36e2ec3 +MD5 cf4043d893c78980cd396ef4fd27d8c3 files/tclcl-1.19-configure-cleanup.patch 8032 +RMD160 377de740a42ccfa151b8cacf5f4e6fc720b8d517 files/tclcl-1.19-configure-cleanup.patch 8032 +SHA256 7ec32b046c12e37bb8102a1411853f58b3bb2ad5bfb67b4039a7d0a0a36e2ec3 files/tclcl-1.19-configure-cleanup.patch 8032 DIST tclcl-1.17.tar.gz 157001 RMD160 c2741cee05616f4b45e605e93896407592188855 SHA1 3b263e86c17d7e456926f981d5df0e381e217de3 SHA256 9f5753e12d04df0781383f0141b9dfa732cefec27a01ab27b3af64ff0aa89180 DIST tclcl-src-1.15.tar.gz 143000 RMD160 9ae3aad5d53ba67df6a5e25f5f3813f4ad162029 SHA1 5b927893d4d3b3f49e86f4ee43266668595d34e3 SHA256 9be16d5e7df7e201bab3611ac53c3d8894f95e6e0059477403ea8004fdd56a34 DIST tclcl-src-1.16.tar.gz 203269 RMD160 3373ba084ed2a278f47d135af67957cf26856069 SHA1 b7eea104131b0472c79a2d7ad2b8763c087fe731 SHA256 75efa77a0c6cd8a3bab65b794f87dceab25ed34183688bf2e564ee0cbadf8e1b +DIST tclcl-src-1.19.tar.gz 174080 RMD160 a7bc0088e20fd91fd6a3ff1f8ff4d99649db7047 SHA1 4ecb4b45f439f9bf10539936a138d70dd32aa6d4 SHA256 460fbad1f9bca42ec41581df008c2b450155f655cfc7df46a92f80179efd9b36 EBUILD tclcl-1.15.ebuild 1218 RMD160 7969d5ba3f28c0607ca1581e61dd0a8b2706c69f SHA1 dbad10767ec3d74fd1de1dbd183885e88e0fb84f SHA256 7bf37c6354e41af51ee75b340c5a1748a30fbf567445787711d1c9dd8783385b MD5 0891e7027818eb0a593ae3ac91f17cda tclcl-1.15.ebuild 1218 RMD160 7969d5ba3f28c0607ca1581e61dd0a8b2706c69f tclcl-1.15.ebuild 1218 @@ -25,10 +30,14 @@ EBUILD tclcl-1.17.ebuild 1250 RMD160 c1e149458c8a622163633070bd25b652d4549200 SH MD5 fcdb27589811962d5be3633f64c260d7 tclcl-1.17.ebuild 1250 RMD160 c1e149458c8a622163633070bd25b652d4549200 tclcl-1.17.ebuild 1250 SHA256 49f82624ef2511ed97886c5185b1b7982b217653f4cea8daeca556574d6f18eb tclcl-1.17.ebuild 1250 -MISC ChangeLog 1897 RMD160 1f77670a30a6e5a02f62fe21333e9fce2e473a75 SHA1 909f8683fec94a89fd32e3f69cb680ac04ee424d SHA256 91ec5ea7a51dfbe4c73dd938b9615bbe3c69af61c85b4cd89cb19554c8932fac -MD5 18ae0dfb822c0eb64a12bdef6b4e33ad ChangeLog 1897 -RMD160 1f77670a30a6e5a02f62fe21333e9fce2e473a75 ChangeLog 1897 -SHA256 91ec5ea7a51dfbe4c73dd938b9615bbe3c69af61c85b4cd89cb19554c8932fac ChangeLog 1897 +EBUILD tclcl-1.19.ebuild 1226 RMD160 39f7fd4a8c4634b0aae0517dac6ac02e73427a7c SHA1 65755f82b5611e22468a91841c2417e6f328ad6d SHA256 1b1fe5cfbc0991c036f42f8d0271e42116ae49c007a33ae05c44d6fdd12eb6c0 +MD5 5c670f9bb1443e95b5687a90fda430f0 tclcl-1.19.ebuild 1226 +RMD160 39f7fd4a8c4634b0aae0517dac6ac02e73427a7c tclcl-1.19.ebuild 1226 +SHA256 1b1fe5cfbc0991c036f42f8d0271e42116ae49c007a33ae05c44d6fdd12eb6c0 tclcl-1.19.ebuild 1226 +MISC ChangeLog 2096 RMD160 80f3eb4214fa134b86d0fdeb011a688a4b71e793 SHA1 cab7eea285f6471a581a57418c0e23156b8ba693 SHA256 aa1dbc83edd17a02a0df56193c191877ba68ff8fe21d901ef1fdf85c4163b3e8 +MD5 60f1e6a4607c9ac608b70033383f89e8 ChangeLog 2096 +RMD160 80f3eb4214fa134b86d0fdeb011a688a4b71e793 ChangeLog 2096 +SHA256 aa1dbc83edd17a02a0df56193c191877ba68ff8fe21d901ef1fdf85c4163b3e8 ChangeLog 2096 MISC metadata.xml 158 RMD160 f197c34c7dd71f6025e93436e3f999137928554a SHA1 edb8e5ac668440e92e947fc3dff54484b28c7775 SHA256 62fb2b0a899315973de885234e3931a2f652b343b68f90fe0778378fdca6f290 MD5 43e377139ff5f3b7415b94a8c8d5260d metadata.xml 158 RMD160 f197c34c7dd71f6025e93436e3f999137928554a metadata.xml 158 @@ -42,3 +51,6 @@ SHA256 bda38bf3ce9bce656b15ea13a863d9590eaad669cbcd3dfc34716fd8a4e89a3d files/di MD5 40255054e5cc063731517017e88a63ab files/digest-tclcl-1.17 232 RMD160 16b4d11b3fef4038c96d6041e6efa61a092198a3 files/digest-tclcl-1.17 232 SHA256 f9c8a0fbb98e5426c77b20cbcfb483692e15d2cc789cd3e8b82a59d695b67224 files/digest-tclcl-1.17 232 +MD5 7a42e5a4ac0b0b1723dbc8518605c143 files/digest-tclcl-1.19 244 +RMD160 753e5da752a3ea52e45c0585538deed8681df5bc files/digest-tclcl-1.19 244 +SHA256 90e0e6bc7b82ebed41c614cc231838f18a7b884c0e60e04ede6c2a2ba0bacff8 files/digest-tclcl-1.19 244 diff --git a/dev-tcltk/tclcl/files/digest-tclcl-1.19 b/dev-tcltk/tclcl/files/digest-tclcl-1.19 new file mode 100644 index 000000000000..5b6bd0d808e1 --- /dev/null +++ b/dev-tcltk/tclcl/files/digest-tclcl-1.19 @@ -0,0 +1,3 @@ +MD5 023aefbd2e6d99ad96eb2cbe8acdbf4a tclcl-src-1.19.tar.gz 174080 +RMD160 a7bc0088e20fd91fd6a3ff1f8ff4d99649db7047 tclcl-src-1.19.tar.gz 174080 +SHA256 460fbad1f9bca42ec41581df008c2b450155f655cfc7df46a92f80179efd9b36 tclcl-src-1.19.tar.gz 174080 diff --git a/dev-tcltk/tclcl/files/tclcl-1.19-configure-cleanup.patch b/dev-tcltk/tclcl/files/tclcl-1.19-configure-cleanup.patch new file mode 100644 index 000000000000..471bf871bee1 --- /dev/null +++ b/dev-tcltk/tclcl/files/tclcl-1.19-configure-cleanup.patch @@ -0,0 +1,264 @@ +diff -Naur tclcl-1.19.orig/conf/configure.in.audio tclcl-1.19/conf/configure.in.audio +--- tclcl-1.19.orig/conf/configure.in.audio 1998-07-17 15:07:29.000000000 +0900 ++++ tclcl-1.19/conf/configure.in.audio 2007-04-28 12:55:36.000000000 +0900 +@@ -90,10 +90,10 @@ + fi + fi + +-AC_TEST_CPP([#include ], x=audio/audio-sun.o, x="") ++AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include ]])],[x=audio/audio-sun.o],[x=""]) + V_OBJ_AUDIO="$V_OBJ_AUDIO $x" + +-AC_TEST_CPP([#include ], x=audio/audio-sun.o, x="") ++AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include ]])],[x=audio/audio-sun.o],[x=""]) + V_OBJ_AUDIO="$V_OBJ_AUDIO $x" + + case "$target" in +diff -Naur tclcl-1.19.orig/conf/configure.in.head tclcl-1.19/conf/configure.in.head +--- tclcl-1.19.orig/conf/configure.in.head 2001-04-12 08:49:06.000000000 +0900 ++++ tclcl-1.19/conf/configure.in.head 2007-04-28 12:55:36.000000000 +0900 +@@ -32,12 +32,12 @@ + fi + + +-AC_CANONICAL_SYSTEM ++AC_CANONICAL_TARGET([]) + + AC_PROG_CC + AC_PROG_CXX +-AC_STDC_HEADERS +-AC_HAVE_HEADERS(string.h) ++AC_HEADER_STDC([]) ++AC_CHECK_HEADERS([string.h]) + + V_INCLUDE="" + V_LIB="" +@@ -76,8 +76,7 @@ + else + if test "$CC" = gcc ; then + AC_MSG_CHECKING(that $CXX can handle -O2) +- AC_TRY_COMPILE(, +- #if __GNUC__ < 2 || __GNUC_MINOR__ < 8 ++ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[#if __GNUC__ < 2 || __GNUC_MINOR__ < 8 + /* gcc */ + error + #endif +@@ -85,9 +84,9 @@ + /* egcs */ + int error; + #endif +- ,AC_MSG_RESULT(yes) +- OonS="-O2", # Optimize on Steroids +- AC_MSG_RESULT(no)) ++ ]])],[AC_MSG_RESULT(yes) ++ OonS="-O2"],[# Optimize on Steroids ++ AC_MSG_RESULT(no)]) + fi + fi + +@@ -152,19 +151,16 @@ + + # Checking validity of STL + AC_MSG_CHECKING(standard STL is available) +-AC_LANG_SAVE +-AC_LANG_CPLUSPLUS ++ ++AC_LANG_PUSH([C++]) + enable_stl="no" +-AC_TRY_COMPILE( +- #include ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include + #include + template class tlist : public list <_T> {}; +- , +- return 0; +- ,AC_MSG_RESULT(yes) +- enable_stl="yes", +- AC_MSG_RESULT(no)) +-AC_LANG_RESTORE ++ ]], [[return 0; ++ ]])],[AC_MSG_RESULT(yes) ++ enable_stl="yes"],[AC_MSG_RESULT(no)]) ++AC_LANG_POP([C++]) + + # This can be extended to support compilation-time module selection + V_STLOBJ="" +diff -Naur tclcl-1.19.orig/conf/configure.in.int64_t tclcl-1.19/conf/configure.in.int64_t +--- tclcl-1.19.orig/conf/configure.in.int64_t 2005-09-01 10:54:05.000000000 +0900 ++++ tclcl-1.19/conf/configure.in.int64_t 2007-04-28 12:55:36.000000000 +0900 +@@ -22,19 +22,17 @@ + fi + + AC_CACHE_CHECK([for __int64_t],int64_t_HAVE___INT64_T,[ +-AC_TRY_RUN([ ++AC_RUN_IFELSE([AC_LANG_SOURCE([[ + main() { __int64_t x; exit (sizeof(x) >= 8 ? 0 : 1); } +-], +-int64_t_HAVE___INT64_T=yes,int64_t_HAVE___INT64_T=no,int64_t_HAVE___INT64_T=cross)]) ++]])],[int64_t_HAVE___INT64_T=yes],[int64_t_HAVE___INT64_T=no],[int64_t_HAVE___INT64_T=cross])]) + if test x"$int64_t_HAVE___INT64_T" = x"yes" -a "x$INT64_T_ALTERNATIVE" = xnone; then + INT64_T_ALTERNATIVE=__int64_t + fi + + AC_CACHE_CHECK([for long long],int64_t_HAVE_LONG_LONG,[ +-AC_TRY_RUN([ ++AC_RUN_IFELSE([AC_LANG_SOURCE([[ + main() { long long x; exit (sizeof(x) >= 8 ? 0 : 1); } +-], +-int64_t_HAVE_LONG_LONG=yes,int64_t_HAVE_LONG_LONG=no,int64_t_HAVE_LONG_LONG=cross)]) ++]])],[int64_t_HAVE_LONG_LONG=yes],[int64_t_HAVE_LONG_LONG=no],[int64_t_HAVE_LONG_LONG=cross])]) + if test x"$int64_t_HAVE_LONG_LONG" = x"yes" -a "x$INT64_T_ALTERNATIVE" = xnone; then + INT64_T_ALTERNATIVE="long long" + fi +diff -Naur tclcl-1.19.orig/conf/configure.in.nse tclcl-1.19/conf/configure.in.nse +--- tclcl-1.19.orig/conf/configure.in.nse 2000-03-10 10:49:32.000000000 +0900 ++++ tclcl-1.19/conf/configure.in.nse 2007-04-28 12:55:36.000000000 +0900 +@@ -9,20 +9,20 @@ + dnl + + AC_MSG_CHECKING([for struct ether_header]) +-AC_TRY_COMPILE([ ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + #include + #include +-], [ ++]], [[ + int main() + { + struct ether_header etherHdr; + + return 1; + } +-], [ ++]])],[ + AC_DEFINE(HAVE_ETHER_HEADER_STRUCT) + AC_MSG_RESULT(found) +-], [ ++],[ + AC_MSG_RESULT(not found) + ]) + +@@ -31,20 +31,20 @@ + dnl Look for ether_addr + dnl + AC_MSG_CHECKING([for struct ether_addr]) +-AC_TRY_COMPILE([ ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + #include + #include +-], [ ++]], [[ + int main() + { + struct ether_addr etherAddr; + + return 0; + } +-], [ ++]])],[ + AC_DEFINE(HAVE_ETHER_ADDRESS_STRUCT) + AC_MSG_RESULT(found) +-], [ ++],[ + AC_MSG_RESULT(not found) + ]) + +@@ -57,14 +57,13 @@ + dnl + dnl look for SIOCGIFHWADDR + dnl +-AC_TRY_RUN( +-#include ++AC_RUN_IFELSE([AC_LANG_SOURCE([[#include + #include + int main() + { + int i = SIOCGIFHWADDR; + return 0; + } +-, AC_DEFINE(HAVE_SIOCGIFHWADDR), , echo 1 +-) ++]])],[AC_DEFINE(HAVE_SIOCGIFHWADDR)],[],[echo 1 ++]) + +diff -Naur tclcl-1.19.orig/conf/configure.in.perl tclcl-1.19/conf/configure.in.perl +--- tclcl-1.19.orig/conf/configure.in.perl 1999-01-22 11:37:20.000000000 +0900 ++++ tclcl-1.19/conf/configure.in.perl 2007-04-28 12:55:36.000000000 +0900 +@@ -19,8 +19,8 @@ + dnl + AC_DEFUN(CHECK_PERL_VERSION, + [ +-echo $[$1] -e "require $[$2]" 1>&AC_FD_CC +-if $[$1] -e "require $[$2]" 2>&AC_FD_CC ++echo $[$1] -e "require $[$2]" 1>&AS_MESSAGE_LOG_FD() ++if $[$1] -e "require $[$2]" 2>&AS_MESSAGE_LOG_FD() + then + : good version + else +diff -Naur tclcl-1.19.orig/conf/configure.in.tail tclcl-1.19/conf/configure.in.tail +--- tclcl-1.19.orig/conf/configure.in.tail 2000-11-14 11:15:01.000000000 +0900 ++++ tclcl-1.19/conf/configure.in.tail 2007-04-28 12:55:36.000000000 +0900 +@@ -144,7 +144,8 @@ + + dnl backwards compability---if nothing else, do Makefile + define([AcOutputFiles],ifdef([AcOutputFiles],AcOutputFiles,Makefile)) +-AC_OUTPUT(AcOutputFiles) ++AC_CONFIG_FILES([Makefile]) ++AC_OUTPUT + + if test ! -d gen ; then + echo "creating ./gen" +diff -Naur tclcl-1.19.orig/conf/configure.in.tcl tclcl-1.19/conf/configure.in.tcl +--- tclcl-1.19.orig/conf/configure.in.tcl 2007-02-19 07:16:52.000000000 +0900 ++++ tclcl-1.19/conf/configure.in.tcl 2007-04-28 12:56:21.000000000 +0900 +@@ -91,6 +91,9 @@ + $d/include/tcl$TCL_ALT_VERS \ + $d/include \ + /usr/local/include \ ++ $d/lib/tcl$TCL_HI_VERS/include \ ++ $d/lib/tcl$TCL_VERS/include \ ++ $d/lib/tcl$TCL_ALT_VERS/include \ + " + TCL_H_PLACES=" \ + ../include \ +@@ -144,7 +147,14 @@ + /usr/include/tcl$TCL_VERS \ + /usr/include/tcl$TCL_HI_VERS \ + /usr/include/tcl$TCL_ALT_VERS \ +- /usr/include/tcl" ++ /usr/include/tcl \ ++ /usr/lib/tcl$TCL_VERS/include/unix \ ++ /usr/lib/tcl$TCL_HI_VERS/include/unix \ ++ /usr/lib/tcl$TCL_ALT_VERS/include/unix \ ++ /usr/lib/tcl$TCL_VERS/include/generic \ ++ /usr/lib/tcl$TCL_HI_VERS/include/generic \ ++ /usr/lib/tcl$TCL_ALT_VERS/include/generic \ ++ " + dnl /usr/include/tcl is for Debian Linux + dnl /usr/include/tcl-private/generic is for FC 4 + TCL_LIB_PLACES_D="$d \ +diff -Naur tclcl-1.19.orig/conf/configure.in.x11 tclcl-1.19/conf/configure.in.x11 +--- tclcl-1.19.orig/conf/configure.in.x11 2006-09-28 14:25:04.000000000 +0900 ++++ tclcl-1.19/conf/configure.in.x11 2007-04-28 12:55:36.000000000 +0900 +@@ -34,7 +34,7 @@ + + echo "checking for X11 header files" + if test "$x_includes" = NONE ; then +- AC_TEST_CPP([#include ],x_includes="",x_includes=NONE) ++ AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include ]])],[x_includes=""],[x_includes=NONE]) + if test "$x_includes" = NONE ; then + for i in $xincdirs ; do + if test -r $i/X11/Intrinsic.h; then +diff -Naur tclcl-1.19.orig/configure.in tclcl-1.19/configure.in +--- tclcl-1.19.orig/configure.in 2005-09-01 10:54:05.000000000 +0900 ++++ tclcl-1.19/configure.in 2007-04-28 12:55:36.000000000 +0900 +@@ -1,7 +1,8 @@ + dnl 'autoconf' input file for the LBL C++ object Tcl library + dnl $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclcl/files/tclcl-1.19-configure-cleanup.patch,v 1.1 2007/04/28 17:18:09 matsuu Exp $ (LBL) + +-AC_INIT(Tcl.cc) ++AC_INIT ++AC_CONFIG_SRCDIR([Tcl.cc]) + + AC_CONFIG_HEADERS([config.h:config.h.in]) + diff --git a/dev-tcltk/tclcl/tclcl-1.19.ebuild b/dev-tcltk/tclcl/tclcl-1.19.ebuild new file mode 100644 index 000000000000..bf5bcfff0dea --- /dev/null +++ b/dev-tcltk/tclcl/tclcl-1.19.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclcl/tclcl-1.19.ebuild,v 1.1 2007/04/28 17:18:09 matsuu Exp $ + +WANT_AUTOMAKE="latest" +WANT_AUTOCONF="latest" + +inherit eutils autotools + +MY_P="${PN}-src-${PV}" +DESCRIPTION="Tcl/C++ interface library" +HOMEPAGE="http://otcl-tclcl.sourceforge.net/tclcl/" +SRC_URI="mirror://sourceforge/otcl-tclcl/${MY_P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="x11-libs/libX11 + x11-libs/libXt + >=dev-lang/tcl-8.4.5 + >=dev-lang/tk-8.4.5 + >=dev-tcltk/otcl-1.11" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-1.16-http.patch + epatch "${FILESDIR}"/${P}-configure-cleanup.patch + eautoreconf +} + +src_compile() { + local tclv tkv myconf + + tclv=$(grep TCL_VER /usr/include/tcl.h | sed 's/^.*"\(.*\)".*/\1/') + tkv=$(grep TK_VER /usr/include/tk.h | sed 's/^.*"\(.*\)".*/\1/') + myconf="--with-tcl-ver=${tclv} --with-tk-ver=${tkv}" + + econf ${myconf} || die "econf failed" + emake || die "emake failed" +} + +src_install() { + dolib.a libtclcl.a + dobin tcl2c++ + insinto /usr/include + doins *.h + + dodoc FILES README VERSION + dohtml CHANGES.html +} -- 2.26.2