aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libuser
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-03-22 23:42:25 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-23 09:52:49 +0000
commit9297e01b2095d90b5365d23c10de699a7cf411ea (patch)
treea9a84d86010702a8cfc5ef7af23ff9946ceb1a37 /meta/recipes-extended/libuser
parent7846f68537a942d340d5931e23a4fceb84b6edcb (diff)
downloadopenembedded-core-contrib-9297e01b2095d90b5365d23c10de699a7cf411ea.tar.gz
libuser: Use abs_srcdir instead of srcdir
srcdir is still relative to pwd. We need to use abs_srcdir to get absolute source directory names Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/libuser')
-rw-r--r--meta/recipes-extended/libuser/libuser/fixsepbuild.patch27
1 files changed, 18 insertions, 9 deletions
diff --git a/meta/recipes-extended/libuser/libuser/fixsepbuild.patch b/meta/recipes-extended/libuser/libuser/fixsepbuild.patch
index 27e6bc6ff10..893ca1490be 100644
--- a/meta/recipes-extended/libuser/libuser/fixsepbuild.patch
+++ b/meta/recipes-extended/libuser/libuser/fixsepbuild.patch
@@ -6,21 +6,30 @@ Upstream-Status: Pending
RP 2013/03/21
-Index: libuser/docs/Makefile.am
+Index: libuser-0.58/docs/Makefile.am
===================================================================
---- libuser/docs.orig/Makefile.am 2012-11-08 02:25:58.000000000 +0000
-+++ libuser/docs/Makefile.am 2013-03-21 14:15:40.756950231 +0000
-@@ -13,9 +13,9 @@
- < $(srcdir)/libuser.conf.5.in > $@
+--- libuser-0.58.orig/docs/Makefile.am 2012-11-07 18:25:58.000000000 -0800
++++ libuser-0.58/docs/Makefile.am 2013-03-22 23:32:06.843518069 -0700
+@@ -8,14 +8,14 @@
- sgml/libuser.txt: $(srcdir)/sgml/libuser.sgml
+ all: sgml/libuser.txt sgml/libuser.html
+
+-libuser.conf.5: $(srcdir)/libuser.conf.5.in Makefile
++libuser.conf.5: $(abs_srcdir)/libuser.conf.5.in Makefile
+ sed 's,@sysconfdir\@,$(sysconfdir),g' \
+- < $(srcdir)/libuser.conf.5.in > $@
++ < $(abs_srcdir)/libuser.conf.5.in > $@
+
+-sgml/libuser.txt: $(srcdir)/sgml/libuser.sgml
- [ -d sgml ] || mkdir sgml
- cd sgml; sgml2txt ../$(srcdir)/sgml/libuser.sgml
++sgml/libuser.txt: $(abs_srcdir)/sgml/libuser.sgml
+ [ -d sgml ] || mkdir sgml || true
-+ cd sgml; sgml2txt $(srcdir)/sgml/libuser.sgml
++ cd sgml; sgml2txt $(abs_srcdir)/sgml/libuser.sgml
- sgml/libuser.html: $(srcdir)/sgml/libuser.sgml
+-sgml/libuser.html: $(srcdir)/sgml/libuser.sgml
- [ -d sgml ] || mkdir sgml
- cd sgml; sgml2html ../$(srcdir)/sgml/libuser.sgml
++sgml/libuser.html: $(abs_srcdir)/sgml/libuser.sgml
+ [ -d sgml ] || mkdir sgml || true
-+ cd sgml; sgml2html $(srcdir)/sgml/libuser.sgml
++ cd sgml; sgml2html $(abs_srcdir)/sgml/libuser.sgml