aboutsummaryrefslogtreecommitdiff
path: root/devel/gdb66
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2010-12-03 04:43:23 +0000
committerMikhail Teterin <mi@FreeBSD.org>2010-12-03 04:43:23 +0000
commit6e024a3cf4064b06a4f9ef7bc3511dfc4c086e63 (patch)
treedb0dd40230246b35f489a112154ac7c64f4e156c /devel/gdb66
parent9f399b42bf2efc1bfbd5348114dd1c21baeeff37 (diff)
Notes
Diffstat (limited to 'devel/gdb66')
-rw-r--r--devel/gdb66/Makefile16
-rw-r--r--devel/gdb66/files/itcl33-patch8
2 files changed, 18 insertions, 6 deletions
diff --git a/devel/gdb66/Makefile b/devel/gdb66/Makefile
index 46fadd5d702f..ab04f872e4db 100644
--- a/devel/gdb66/Makefile
+++ b/devel/gdb66/Makefile
@@ -22,6 +22,7 @@ LATEST_LINK= gdb66
OPTIONS= INSIGHT "Build the Tcl/Tk GUI (experimental!)" off
+MAKE_JOBS_SAFE= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_GETTEXT= yes
@@ -46,17 +47,19 @@ BROKEN= Does not configure on ia64 or powerpc
.endif
.if defined(WITH_INSIGHT)
+USE_TK= 84+
+.include "${PORTSDIR}/Mk/bsd.tcl.mk"
LIB_DEPENDS= itk:${PORTSDIR}/x11-toolkits/itk
RUN_DEPENDS= ${LOCALBASE}/lib/iwidgets:${PORTSDIR}/x11-toolkits/iwidgets
DISTFILES+= gdbtk-6.6${EXTRACT_SUFX}:gdbtk
PLIST_SUB+= INSIGHT=''
EXTRA_PATCHES= ${FILESDIR}/itcl33-patch
CONFIGURE_ARGS+=--enable-gdbtk \
- --with-tclconfig=${LOCALBASE}/lib/tcl8.4 \
- --with-tclinclude=${LOCALBASE}/include/tcl8.4/generic \
- --with-tkconfig=${LOCALBASE}/lib/tk8.4 \
- --with-tkinclude=${LOCALBASE}/include/tk8.4/generic \
- --with-itclconfig=${LOCALBASE}/lib/itcl3.3 \
+ --with-tclconfig=${LOCALBASE}/lib/tcl${TCL_VER} \
+ --with-tclinclude=${LOCALBASE}/include/tcl${TCL_VER}/generic \
+ --with-tkconfig=${LOCALBASE}/lib/tk${TK_VER} \
+ --with-tkinclude=${LOCALBASE}/include/tk${TK_VER}/generic \
+ --with-itclconfig=${LOCALBASE}/lib/itcl3.4 \
--with-itkconfig=${LOCALBASE}/lib/itk3.3
pre-everything::
@@ -68,7 +71,8 @@ pre-everything::
pre-configure:
${MKDIR} ${WRKSRC}/itcl/generic
- ${LN} -s ${LOCALBASE}/include/it*3.3/*.h ${WRKSRC}/itcl/generic/
+ ${LN} -s ${LOCALBASE}/include/itk3.3/*.h ${WRKSRC}/itcl/generic/
+ ${LN} -s ${LOCALBASE}/include/itcl3.4/*.h ${WRKSRC}/itcl/generic/
.else
PLIST_SUB+= INSIGHT='@comment '
.endif
diff --git a/devel/gdb66/files/itcl33-patch b/devel/gdb66/files/itcl33-patch
index 9a1d4d0d94c3..f45871586dcb 100644
--- a/devel/gdb66/files/itcl33-patch
+++ b/devel/gdb66/files/itcl33-patch
@@ -187,3 +187,11 @@
+ protected variable _widget {}
constructor {config} {
+--- libgui/library/pkgIndex.tcl 2003-02-04 02:33:38.000000000 -0500
++++ libgui/library/pkgIndex.tcl 2010-12-02 23:33:05.000000000 -0500
+@@ -9,4 +9,4 @@
+ # full path name of this file's directory.
+
+-package ifneeded combobox 2.2.1 [list source [file join $dir combobox.tcl]]
++package ifneeded combobox 2.3 [list source [file join $dir combobox.tcl]]
+ package ifneeded debug 1.0 [list source [file join $dir debug.tcl]]