aboutsummaryrefslogtreecommitdiff
path: root/devel/tclxml/files
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2008-05-05 14:54:25 +0000
committerBeech Rintoul <beech@FreeBSD.org>2008-05-05 14:54:25 +0000
commitd5f5bacd63f0383abbc81971d886c37f9f95b4a0 (patch)
tree931c35aa63c024713e3fba28752a46ad984e4275 /devel/tclxml/files
parente15eb67265e0a539b617852b39f321fc1fc09672 (diff)
downloadports-d5f5bacd63f0383abbc81971d886c37f9f95b4a0.tar.gz
ports-d5f5bacd63f0383abbc81971d886c37f9f95b4a0.zip
Notes
Diffstat (limited to 'devel/tclxml/files')
-rw-r--r--devel/tclxml/files/patch-configure15
-rw-r--r--devel/tclxml/files/patch-library-pkgIndex.tcl.in14
2 files changed, 29 insertions, 0 deletions
diff --git a/devel/tclxml/files/patch-configure b/devel/tclxml/files/patch-configure
new file mode 100644
index 000000000000..b8fdfc038b79
--- /dev/null
+++ b/devel/tclxml/files/patch-configure
@@ -0,0 +1,15 @@
+Due to the portbuildmechanism, the original TCL_SRC_DIR is not available
+at buildtime of this port, but the private headers that we are actually
+looking for can also be found in the include directory.
+
+--- configure.orig 2005-11-04 07:26:33.000000000 +0100
++++ configure 2008-04-27 23:30:44.000000000 +0200
+@@ -3183,7 +3183,7 @@
+
+ TCL_INCLUDES=-I\"${INCLUDE_DIR_NATIVE}\"
+
+-
++ TCL_SRC_DIR=${with_tclinclude}
+
+
+ echo $ac_n "checking for Tcl private include files""... $ac_c" 1>&6
diff --git a/devel/tclxml/files/patch-library-pkgIndex.tcl.in b/devel/tclxml/files/patch-library-pkgIndex.tcl.in
new file mode 100644
index 000000000000..037688168956
--- /dev/null
+++ b/devel/tclxml/files/patch-library-pkgIndex.tcl.in
@@ -0,0 +1,14 @@
+No clue what went wrong here..
+This patch just avoids the warning message, it would work without it aswell.
+
+--- library/pkgIndex.tcl.in.orig 2008-04-27 23:48:07.000000000 +0200
++++ library/pkgIndex.tcl.in 2008-04-27 23:48:13.000000000 +0200
+@@ -4,7 +4,7 @@
+
+ package ifneeded xml::c @VERSION@ [list load [file join $dir @Tclxml_LIB_FILE@]]
+ package ifneeded xml::tcl @VERSION@ [list source [file join $dir xml__tcl.tcl]]
+-package ifneeded sgmlparser 1.1 [list source [file join $dir sgmlparser.tcl]]
++package ifneeded sgmlparser 1.0 [list source [file join $dir sgmlparser.tcl]]
+ package ifneeded xpath 1.0 [list source [file join $dir xpath.tcl]]
+ package ifneeded xmldep 1.0 [list source [file join $dir xmldep.tcl]]
+