summaryrefslogtreecommitdiff
blob: 3c35a5747e6a82ab4a8d19c9f897dbbb1f05bf23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
diff -ur --exclude Makefile xmlwrapp-0.5.0.orig/configure.pl xmlwrapp-0.5.0/configure.pl
--- xmlwrapp-0.5.0.orig/configure.pl	2009-02-06 18:06:37.000000000 +0100
+++ xmlwrapp-0.5.0/configure.pl	2009-02-06 18:57:43.000000000 +0100
@@ -125,6 +125,7 @@
   --contrib            Configure for being bundled inside another project
   --disable-shared     Don't build a shared library
   --disable-examples   Don't build the example programs
+  --disable-xslt       Don't build with xslt
   --enable-tests       Enable the building of test programs
 
   --xml2-config file   Run file to get info about libxml2 [xml2-config]
@@ -405,12 +406,12 @@
 	print STDERR "\n**** hey, I can't cd into my src/$src_sub_dir directory: $!\n";
 	exit 1;
     }
-
     my $extra_flags = "--shared-lib $libname --major $xmlwrapp_mjr" unless $clo{'disable-shared'};
+    $extra_flags = "$extra_flags --linkwith xslt" unless $clo{'disable-xslt'};
     foreach my $dir (@external_incs) { $extra_flags .= " --include $dir"; }
 
     print "Creating src/$src_sub_dir/Makefile ...\n";
-    system("$^X $mkmf $mkmf_flags --static-lib $libname $extra_flags *.cxx");
+    system("$^X $mkmf $mkmf_flags --static-lib $libname --linkwith xml2 $extra_flags *.cxx");
     chdir($cwd);
 
     ##
@@ -420,11 +421,11 @@
 	exit 1;
     }
 
-    my $extra_flags = "--shared-lib $xslt_libname --major $xsltwrapp_mjr" unless $clo{'disable-shared'};
+    my $extra_flags = "--shared-lib $xslt_libname --major $xsltwrapp_mjr --linkwith $cwd${dirsep}src${dirsep}$xslt_sub_dir,$libname" unless $clo{'disable-shared'};
     foreach my $dir (@external_incs) { $extra_flags .= " --include $dir"; }
 
     print "Creating src/$xslt_sub_dir/Makefile ...\n";
-    system("$^X $mkmf $mkmf_flags --static-lib $xslt_libname $extra_flags *.cxx");
+    system("$^X $mkmf $mkmf_flags --static-lib $xslt_libname --linkwith xslt --linkwith exslt $extra_flags *.cxx");
     chdir($cwd);
 }
 ################################################################################
Only in xmlwrapp-0.5.0/examples/01-tree_parsing: example
Only in xmlwrapp-0.5.0/examples/01-tree_parsing: example.o
Only in xmlwrapp-0.5.0/examples/02-event_parsing: example
Only in xmlwrapp-0.5.0/examples/02-event_parsing: example.o
Only in xmlwrapp-0.5.0/examples/03-xml_generation: example
Only in xmlwrapp-0.5.0/examples/03-xml_generation: example.o
Only in xmlwrapp-0.5.0/examples/04-xslt: example
Only in xmlwrapp-0.5.0/examples/04-xslt: example.o
Files xmlwrapp-0.5.0.orig/src/libxml/ait_impl.o and xmlwrapp-0.5.0/src/libxml/ait_impl.o differ
Files xmlwrapp-0.5.0.orig/src/libxml/attributes.o and xmlwrapp-0.5.0/src/libxml/attributes.o differ
Files xmlwrapp-0.5.0.orig/src/libxml/document.o and xmlwrapp-0.5.0/src/libxml/document.o differ
Files xmlwrapp-0.5.0.orig/src/libxml/dtd_impl.o and xmlwrapp-0.5.0/src/libxml/dtd_impl.o differ
Files xmlwrapp-0.5.0.orig/src/libxml/event_parser.o and xmlwrapp-0.5.0/src/libxml/event_parser.o differ
Files xmlwrapp-0.5.0.orig/src/libxml/init.o and xmlwrapp-0.5.0/src/libxml/init.o differ
Files xmlwrapp-0.5.0.orig/src/libxml/libxmlwrapp.a and xmlwrapp-0.5.0/src/libxml/libxmlwrapp.a differ
Only in xmlwrapp-0.5.0/src/libxml: libxmlwrapp.so
Files xmlwrapp-0.5.0.orig/src/libxml/node.o and xmlwrapp-0.5.0/src/libxml/node.o differ
Files xmlwrapp-0.5.0.orig/src/libxml/node_iterator.o and xmlwrapp-0.5.0/src/libxml/node_iterator.o differ
Files xmlwrapp-0.5.0.orig/src/libxml/node_manip.o and xmlwrapp-0.5.0/src/libxml/node_manip.o differ
Files xmlwrapp-0.5.0.orig/src/libxml/tree_parser.o and xmlwrapp-0.5.0/src/libxml/tree_parser.o differ
Files xmlwrapp-0.5.0.orig/src/libxml/utility.o and xmlwrapp-0.5.0/src/libxml/utility.o differ
Only in xmlwrapp-0.5.0/src/libxslt: init.o
Only in xmlwrapp-0.5.0/src/libxslt: libxsltwrapp.a
Only in xmlwrapp-0.5.0/src/libxslt: libxsltwrapp.so
Only in xmlwrapp-0.5.0/src/libxslt: stylesheet.o
Only in xmlwrapp-0.5.0.orig/src: xmlwrapp_config.h
diff -ur --exclude Makefile xmlwrapp-0.5.0.orig/tools/mkmf xmlwrapp-0.5.0/tools/mkmf
--- xmlwrapp-0.5.0.orig/tools/mkmf	2009-02-06 18:06:37.000000000 +0100
+++ xmlwrapp-0.5.0/tools/mkmf	2009-02-06 18:33:06.000000000 +0100
@@ -234,11 +234,11 @@
     }
 
     $lib = $static_lib_prefix . $lib . $static_lib_extension;
-    addflags($ENV{'LDFLAGS'}, "'$path$lib'");
+    addflags($ENV{'POST_LDFLAGS'}, "'$path$lib'");
 }
 
 foreach (@{$clo{'linkwith'}}) {
-    addflags($ENV{'LDFLAGS'}, `$^X $clo{'cxxflags'} --linkwith "$_"`);
+    addflags($ENV{'POST_LDFLAGS'}, `$^X $clo{'cxxflags'} --linkwith "$_"`);
 }
 
 foreach (@{$clo{'include'}}) {
Only in xmlwrapp-0.5.0.orig: xmlwrapp-config
Only in xmlwrapp-0.5.0.orig: xmlwrapp.pc