updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / firefox-pgo / mozilla-pkgconfig.patch
blob2203efcdeba7eeca6346683562804e2189b5d3a4
1 diff -Nur mozilla-2.0.orig/xulrunner/installer/libxul-embedding.pc.in mozilla-2.0/xulrunner/installer/libxul-embedding.pc.in
2 --- mozilla-2.0.orig/xulrunner/installer/libxul-embedding.pc.in 2011-03-03 14:12:04.000000000 -0800
3 +++ mozilla-2.0/xulrunner/installer/libxul-embedding.pc.in 2011-03-13 03:25:12.350027359 -0700
4 @@ -6,5 +6,6 @@
5 Name: libxul-embedding
6 Description: Static library for version-independent embedding of the Mozilla runtime
7 Version: %MOZILLA_VERSION%
8 +Requires: %NSPR_NAME% >= %NSPR_VERSION%
9 Libs: -L${sdkdir}/lib -lxpcomglue -ldl
10 Cflags: -DXPCOM_GLUE -I${includedir} %WCHAR_CFLAGS%
11 diff -Nur mozilla-2.0.orig/xulrunner/installer/libxul.pc.in mozilla-2.0/xulrunner/installer/libxul.pc.in
12 --- mozilla-2.0.orig/xulrunner/installer/libxul.pc.in 2011-03-03 14:12:04.000000000 -0800
13 +++ mozilla-2.0/xulrunner/installer/libxul.pc.in 2011-03-13 03:25:28.010027359 -0700
14 @@ -1,5 +1,6 @@
15 prefix=%prefix%
16 sdkdir=%sdkdir%
17 +libdir=%libdir%
18 includedir=%includedir%
19 idldir=%idldir%
21 diff -Nur mozilla-2.0.orig/xulrunner/installer/Makefile.in mozilla-2.0/xulrunner/installer/Makefile.in
22 --- mozilla-2.0.orig/xulrunner/installer/Makefile.in 2011-03-03 14:12:04.000000000 -0800
23 +++ mozilla-2.0/xulrunner/installer/Makefile.in 2011-03-13 03:25:55.570027359 -0700
24 @@ -121,6 +121,7 @@
25 -e "s|%includedir%|$(includedir)|" \
26 -e "s|%idldir%|$(idldir)|" \
27 -e "s|%sdkdir%|$(sdkdir)|" \
28 + -e "s|%libdir%|$(installdir)|" \
29 -e "s|%MOZ_APP_NAME%|$(MOZ_APP_NAME)|" \
30 -e "s|%MOZILLA_VERSION%|$(MOZ_APP_VERSION)|" \
31 -e "s|%WCHAR_CFLAGS%|$(WCHAR_CFLAGS)|" \
32 diff -Nur mozilla-2.0.orig/xulrunner/installer/mozilla-gtkmozembed-embedding.pc.in mozilla-2.0/xulrunner/installer/mozilla-gtkmozembed-embedding.pc.in
33 --- mozilla-2.0.orig/xulrunner/installer/mozilla-gtkmozembed-embedding.pc.in 2011-03-03 14:12:04.000000000 -0800
34 +++ mozilla-2.0/xulrunner/installer/mozilla-gtkmozembed-embedding.pc.in 2011-03-13 03:26:18.676694023 -0700
35 @@ -1,5 +1,6 @@
36 prefix=%prefix%
37 sdkdir=%sdkdir%
38 +libdir=%libdir%
39 includedir=%includedir%
41 Name: mozilla-gtkembedmoz
42 diff -Nur mozilla-2.0.orig/xulrunner/installer/mozilla-gtkmozembed.pc.in mozilla-2.0/xulrunner/installer/mozilla-gtkmozembed.pc.in
43 --- mozilla-2.0.orig/xulrunner/installer/mozilla-gtkmozembed.pc.in 2011-03-03 14:12:04.000000000 -0800
44 +++ mozilla-2.0/xulrunner/installer/mozilla-gtkmozembed.pc.in 2011-03-13 03:26:41.566694025 -0700
45 @@ -1,5 +1,6 @@
46 prefix=%prefix%
47 sdkdir=%sdkdir%
48 +libdir=%libdir%
49 includedir=%includedir%
51 Name: mozilla-gtkembedmoz
52 diff -Nur mozilla-2.0.orig/xulrunner/installer/mozilla-js.pc.in mozilla-2.0/xulrunner/installer/mozilla-js.pc.in
53 --- mozilla-2.0.orig/xulrunner/installer/mozilla-js.pc.in 2011-03-03 14:12:04.000000000 -0800
54 +++ mozilla-2.0/xulrunner/installer/mozilla-js.pc.in 2011-03-13 03:27:19.680027357 -0700
55 @@ -7,4 +7,4 @@
56 Version: %MOZILLA_VERSION%
57 Requires: %NSPR_NAME% >= %NSPR_VERSION%
58 Libs: -L${sdkdir}/lib %MOZ_JS_LINK%
59 -Cflags: -I${includedir} -DXP_UNIX -DJS_THREADSAFE
60 +Cflags: -I${includedir} -I${includedir}/js -DXP_UNIX -DJS_THREADSAFE