summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-08-21 21:45:29 +0000
committermarino <marino@pkgsrc.org>2012-08-21 21:45:29 +0000
commitc646cbbbdf9fb335f621cef2242af54632bc55ae (patch)
tree1f3d38f5ba38393f3300668a3ffa4a0585f1c460 /lang
parent40f828b83b0d8bb10a6b5076c236768dfed8be96 (diff)
downloadpkgsrc-c646cbbbdf9fb335f621cef2242af54632bc55ae.tar.gz
lang/tcl-otlc: Add tcl/tk 8.5 support
Pass the tlc/tk versions to the configure script after including their Makefile.version files. Unfortunately, while the build gets further, it breaks later due to incompatiblity with version 8.5.
Diffstat (limited to 'lang')
-rw-r--r--lang/tcl-otcl/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/tcl-otcl/Makefile b/lang/tcl-otcl/Makefile
index e70a05ca4d9..02f436c7d69 100644
--- a/lang/tcl-otcl/Makefile
+++ b/lang/tcl-otcl/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2009/02/17 19:49:57 joerg Exp $
+# $NetBSD: Makefile,v 1.22 2012/08/21 21:45:29 marino Exp $
DISTNAME= otcl-src-1.13
PKGNAME= tcl-${DISTNAME:S/-src//}
+PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=otcl-tclcl/}
@@ -16,9 +17,14 @@ GNU_CONFIGURE= yes
USE_LIBTOOL= yes
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
+.include "../../lang/tcl/Makefile.version"
+.include "../../x11/tk/Makefile.version"
+
CONFIGURE_ARGS+= V_LIBS="`${CONFIG_SHELL} -c '. ${TCLCONFIG_SH}; ${ECHO} $$TCL_LIBS'`"
CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}
CONFIGURE_ARGS+= --with-tk=${BUILDLINK_PREFIX.tk}
+CONFIGURE_ARGS+= --with-tcl-ver=${TCL_VERSION}
+CONFIGURE_ARGS+= --with-tk-ver=${TK_VERSION}
CPPFLAGS+= -I${BUILDLINK_PREFIX.tcl}/include/tcl/generic