packages/quilt:
authorHolger Freyther <zecke@selfish.org>
Sun, 9 Apr 2006 14:16:59 +0000 (14:16 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sun, 9 Apr 2006 14:16:59 +0000 (14:16 +0000)
    Be buildable on non GNU systems. This patch was mainly
    taken from the quilt mailing lists.

packages/quilt/files/non-gnu.patch [new file with mode: 0644]
packages/quilt/quilt-native_0.42.bb
packages/quilt/quilt_0.42.bb

diff --git a/packages/quilt/files/non-gnu.patch b/packages/quilt/files/non-gnu.patch
new file mode 100644 (file)
index 0000000..8b07bc2
--- /dev/null
@@ -0,0 +1,13 @@
+Index: quilt/Makefile.in
+===================================================================
+--- quilt.orig/Makefile.in
++++ quilt/Makefile.in  
+@@ -216,7 +216,7 @@
+            -e 's:@LOCALEDIR''@:$(localedir):g' \
+            -e 's:@DOCSUBDIR''@:$(docdir)/$(PACKAGE)-$(VERSION):g' \
+            $< > $@
+-      @chmod --reference=$< $@
++      @chmod `stat -f "%p" $<`  $@
+ Makefile : Makefile.in
+       @echo "Please run ./configure by hand"
index 19b4a3b..959bcfc 100644 (file)
@@ -7,7 +7,8 @@ RDEPENDS_${PN} = "diffstat-native patch-native bzip2-native"
 SRC_URI = "cvs://anonymous@cvs.savannah.nongnu.org/cvsroot/quilt;method=pserver;module=quilt;tag=VER_${@(bb.data.getVar('PV', d, 1) or '').replace('.', '_')} \
           file://install.patch;patch=1 \
           file://nostrip.patch;patch=1 \
-          file://autoreconf.patch;patch=1"
+          file://autoreconf.patch;patch=1 \
+          file://non-gnu.patch;patch=1 "
 S = "${WORKDIR}/quilt"
 
 inherit autotools native
index 44a0d95..d4be31a 100644 (file)
@@ -2,7 +2,8 @@ include quilt.inc
 
 SRC_URI = "cvs://anonymous@cvs.savannah.nongnu.org/cvsroot/quilt;method=pserver;module=quilt;tag=VER_${@(bb.data.getVar('PV', d, 1) or '').replace('.', '_')} \
           file://install.patch;patch=1 \
-          file://nostrip.patch;patch=1"
+          file://nostrip.patch;patch=1 \
+          file://non-gnu.patch;patch=1 "
 S = "${WORKDIR}/quilt"
 
 inherit autotools gettext