diff options
author | knu <knu@FreeBSD.org> | 2000-10-15 20:44:40 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-10-15 20:44:40 +0000 |
commit | 939f9b7366a20009712e134734914b498cf6ae3b (patch) | |
tree | 7cf2c32a4514a271951d834c3b91398e0934d368 /textproc/ruby-xmlparser/files | |
parent | 400d7b0f27de069a07924d87b005136e49642e14 (diff) | |
download | FreeBSD-ports-939f9b7366a20009712e134734914b498cf6ae3b.zip FreeBSD-ports-939f9b7366a20009712e134734914b498cf6ae3b.tar.gz |
Update to 0.6.1, which now supports expat 1.2 and 1.95.
Diffstat (limited to 'textproc/ruby-xmlparser/files')
-rw-r--r-- | textproc/ruby-xmlparser/files/patch-aa | 34 |
1 files changed, 10 insertions, 24 deletions
diff --git a/textproc/ruby-xmlparser/files/patch-aa b/textproc/ruby-xmlparser/files/patch-aa index 97f6bbf..8ce291d 100644 --- a/textproc/ruby-xmlparser/files/patch-aa +++ b/textproc/ruby-xmlparser/files/patch-aa @@ -1,27 +1,13 @@ ---- extconf.rb.orig Wed Aug 18 08:38:36 1999 -+++ extconf.rb Wed Aug 9 20:24:40 2000 -@@ -4,19 +4,19 @@ - - ## Encoding maps may be stored in $perl_archlib/XML/Parser/Encodins/ - #perl_archlib = '/usr/lib/perl5/site_perl/5.005/i586-linux' --perl_archlib = '/usr/local/lib' -+perl_archlib = '%%PERL_ARCHLIB%%' - xml_enc_path = perl_archlib + "/XML/Parser/Encodings" - +--- extconf.rb.orig Sun Oct 15 15:22:39 2000 ++++ extconf.rb Mon Oct 16 05:40:33 2000 +@@ -22,8 +22,8 @@ ##$CFLAGS="-I#{cwd}/expat/xmlparse -I#{cwd}/expat/xmltok" + ## ' -DXML_ENC_PATH=getenv\(\"XML_ENC_PATH\"\)' + ## " -DNEW_EXPAT" --$CFLAGS="-I#{cwd}/expat/xmlparse -I#{cwd}/expat/xmltok" + -+$CFLAGS="-I#{CONFIG['prefix']}/include/xml" + - " -DXML_ENC_PATH=\\\"#{xml_enc_path}\\\"" --$LDFLAGS="-L#{cwd}/expat" -+$LDFLAGS="-L#{CONFIG['prefix']}/lib" - - if have_header("xmlparse.h") -- if have_library("xmltok", "XML_ParserCreate") --# if have_library("expat", "XML_ParserCreate") -+# if have_library("xmltok", "XML_ParserCreate") -+ if have_library("expat", "XML_ParserCreate") - if have_func("XML_SetNotStandaloneHandler") - $CFLAGS += " -DNEW_EXPAT" - end +-$CFLAGS = "-I#{cwd}/expat/xmlparse -I#{cwd}/expat/xmltok" +-$LDFLAGS = "-L#{cwd}/expat/xmlparse" ++#$CFLAGS = "-I#{cwd}/expat/xmlparse -I#{cwd}/expat/xmltok" ++#$LDFLAGS = "-L#{cwd}/expat/xmlparse" + dir_config("xmltok") + dir_config("xmlparse") + if xml_enc_path |