summaryrefslogtreecommitdiffstats
path: root/meta-moblin/packages/moblin-web-browser/moblin-web-browser/xpidl-78ddd155cc297811720e4c4835d468ac6c4d9666.patch
blob: d4785eaddff415b40f7ae8235c2194ec71b5925c (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
Index: git/configure.ac
===================================================================
--- git.orig/configure.ac	2010-01-13 14:57:52.000000000 +0000
+++ git/configure.ac	2010-01-13 15:01:35.000000000 +0000
@@ -57,6 +57,13 @@
 NBTKDATADIR=`${PKG_CONFIG} --variable=prefix nbtk-1.2`"/share/nbtk"
 AC_SUBST(NBTKDATADIR)
 
+IDLPREFIX=
+AC_ARG_WITH(idl-prefix, AC_HELP_STRING([--with-idl-prefix=DIR],[prefix to add to access to the idl files]), with_idl_prefix=${withval})
+if test x"${with_idl_prefix}" != x ; then
+   IDLPREFIX=${with_idl_prefix}
+fi
+AC_SUBST([IDLPREFIX])
+
 if test "x$build_browser" = "xyes"; then
    PKG_CHECK_MODULES(MWB,
          clutter-1.0
Index: git/libmwbpages/Makefile.am
===================================================================
--- git.orig/libmwbpages/Makefile.am	2010-01-13 14:57:52.000000000 +0000
+++ git/libmwbpages/Makefile.am	2010-01-13 15:02:20.000000000 +0000
@@ -26,10 +26,10 @@
 mwb-pages-service.lo : MwbIPagesService.h
 
 .idl.h :
-	$(MOZHOME)/xpidl -I $(MOZIDLDIR) -m header $<
+	xpidl -I $(IDLPREFIX)$(MOZIDLDIR) -m header $<
 
 .idl.xpt :
-	$(MOZHOME)/xpidl -I $(MOZIDLDIR) -m typelib $<
+	xpidl -I $(IDLPREFIX)$(MOZIDLDIR) -m typelib $<
 
 xpt_DATA = MwbIPagesService.xpt
 xptdir = $(pkgdatadir)/components